fix leak
authorMatthias Wachs <wachs@net.in.tum.de>
Thu, 10 Oct 2013 07:52:36 +0000 (07:52 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Thu, 10 Oct 2013 07:52:36 +0000 (07:52 +0000)
src/transport/test_plugin_transport.c

index 06cd27f9c2ca2586c22c71a0f8c69a21c4ae2d6b..ba16d539dc5eec9e2642297f724bd16b471d3665 100644 (file)
@@ -580,6 +580,7 @@ run (void *cls, char *const *args, const char *cfgfile,
   {
     GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
                "Could not create statistics.  Exiting.\n");
+    GNUNET_free (keyfile);
     end_badly_now ();
     return;
   }