-fix leak
authorChristian Grothoff <christian@grothoff.org>
Mon, 4 Apr 2016 15:34:48 +0000 (15:34 +0000)
committerChristian Grothoff <christian@grothoff.org>
Mon, 4 Apr 2016 15:34:48 +0000 (15:34 +0000)
src/util/os_installation.c

index 38cf7b539e3087434b521369aabc80b9ca8382ef..030a935c116acdd7e7a03515da0b47ebe8014bc5 100644 (file)
@@ -740,6 +740,7 @@ GNUNET_OS_installation_get_path (enum GNUNET_OS_InstallationPathKind dirkind)
                    "%s%s",
                    execpath,
                    dirname);
+  GNUNET_free (dirname);
   GNUNET_free (execpath);
   return tmp;
 }