Check-in Number:
|
3149 | |
Date: |
2003-Feb-06 11:51:40 (local)
2003-Feb-06 10:51:40 (UTC) |
User: | thl |
Branch: | |
Comment: |
defeat double free(3) |
Tickets: |
|
Inspections: |
|
Files: |
|
ossp-pkg/lmtp2nntp/lmtp2nntp_config.c 1.90 -> 1.91
--- lmtp2nntp_config.c 2003/01/30 19:45:20 1.90
+++ lmtp2nntp_config.c 2003/02/06 10:51:40 1.91
@@ -254,7 +254,7 @@
logbook(ctx->l2, L2_LEVEL_TRACE, "--pidfile = \"%s\"", ov->data.s);
if (ov->ndata == 1)
- ctx->option_pidfile = ov->data.s;
+ ctx->option_pidfile = strdupex(ov->data.s);
}
catch (ex)
rethrow;
|
|