diff options
| author | Roy Marples <roy@marples.name> | 2017-04-12 23:51:45 +0100 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2017-04-12 23:51:45 +0100 |
| commit | d8ba88f513f57fea8369c23f158720e7a2d85ba6 (patch) | |
| tree | 00fc6f6b873cd3c4fddd03946d2c00a31e1a89b7 /src/dhcpcd.c | |
| parent | ff80181b2564853bb803c5b15d3b1d46423867fb (diff) | |
| download | dhcpcd-d8ba88f513f57fea8369c23f158720e7a2d85ba6.tar.xz | |
Free logfile.
Diffstat (limited to 'src/dhcpcd.c')
| -rw-r--r-- | src/dhcpcd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dhcpcd.c b/src/dhcpcd.c index 2f0bae11..10583905 100644 --- a/src/dhcpcd.c +++ b/src/dhcpcd.c @@ -1966,6 +1966,7 @@ exit1: if (ctx.options & DHCPCD_STARTED && !(ctx.options & DHCPCD_FORKED)) loginfox(PACKAGE " exited"); logclose(); + free(ctx.logfile); #ifdef USE_SIGNALS if (ctx.options & DHCPCD_FORKED) _exit(i); /* so atexit won't remove our pidfile */ |
