-fix memory leak (on error path)
authorChristian Grothoff <christian@grothoff.org>
Fri, 21 Jun 2013 17:39:14 +0000 (17:39 +0000)
committerChristian Grothoff <christian@grothoff.org>
Fri, 21 Jun 2013 17:39:14 +0000 (17:39 +0000)
src/arm/gnunet-service-arm.c

index 2eb8707195ebd1fe9297a75aa78f7a4e20bf02ac..1acb82f72fb5fdf0a372f9c9ced4cecb9f1f6b34 100644 (file)
@@ -1246,6 +1246,7 @@ setup_service (void *cls, const char *section)
   {
     /* got the same section twice!? */
     GNUNET_break (0);
+    GNUNET_free (binary);
     return;
   }
   config = NULL;