Index: ossp-pkg/lmtp2nntp/lmtp2nntp_option.c RCS File: /v/ossp/cvs/ossp-pkg/lmtp2nntp/lmtp2nntp_option.c,v rcsdiff -q -kk '-r1.29' '-r1.30' -u '/v/ossp/cvs/ossp-pkg/lmtp2nntp/lmtp2nntp_option.c,v' 2>/dev/null --- lmtp2nntp_option.c 2003/02/11 12:54:58 1.29 +++ lmtp2nntp_option.c 2003/02/11 12:55:31 1.30 @@ -316,6 +316,7 @@ } if ((option_find(o, i, &ocp) == OPTION_OK) && (ocp->cb != NULL)) { rv = ocp->cb(ocp, cp = (ocp->type == OPT_FLAG ? NULL : (char *)popt_getoptarg(poptCon)), ocp->cbctx); + free(cp); /* TODO this should be the task of popt_freecontext but debugging showed popt does not free(3) */ if (rc == OPTION_OK) rc = rv; }