charon-tkm: Free name of the PID file
authorTobias Brunner <tobias@strongswan.org>
Tue, 13 Sep 2016 14:27:12 +0000 (16:27 +0200)
committerTobias Brunner <tobias@strongswan.org>
Tue, 20 Sep 2016 14:26:05 +0000 (16:26 +0200)
src/charon-tkm/src/charon-tkm.c

index 41b364f..3136b80 100644 (file)
@@ -373,6 +373,7 @@ int main(int argc, char *argv[])
        run();
 
        unlink_pidfile();
+       free(pidfile_name);
        status = 0;
        charon->bus->remove_listener(charon->bus, &listener->listener);
        listener->destroy(listener);