diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-01-17 18:17:19 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-01-17 18:17:19 +0100 |
commit | a1cb6c541213da63a7ab3e5b1cd51ba941fff84d (patch) | |
tree | 6c34804f752bea359378a3f1310decbe9879ec3b /src/util | |
parent | 5422848b4f41617fd29a0d7fdd25e0b3cf2c63e7 (diff) | |
download | gnunet-a1cb6c541213da63a7ab3e5b1cd51ba941fff84d.tar.gz gnunet-a1cb6c541213da63a7ab3e5b1cd51ba941fff84d.zip |
fix leak
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/os_installation.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/os_installation.c b/src/util/os_installation.c index 990acede4..dcd31dc2c 100644 --- a/src/util/os_installation.c +++ b/src/util/os_installation.c | |||
@@ -611,10 +611,10 @@ GNUNET_OS_installation_get_path (enum GNUNET_OS_InstallationPathKind dirkind) | |||
611 | DIR_SEPARATOR_STR "lib" DIR_SEPARATOR_STR, | 611 | DIR_SEPARATOR_STR "lib" DIR_SEPARATOR_STR, |
612 | (NULL != multiarch) ? multiarch : "", | 612 | (NULL != multiarch) ? multiarch : "", |
613 | dirname); | 613 | dirname); |
614 | GNUNET_free (dirname); | ||
614 | if (GNUNET_YES == GNUNET_DISK_directory_test (tmp, GNUNET_YES)) | 615 | if (GNUNET_YES == GNUNET_DISK_directory_test (tmp, GNUNET_YES)) |
615 | { | 616 | { |
616 | GNUNET_free (execpath); | 617 | GNUNET_free (execpath); |
617 | GNUNET_free (dirname); | ||
618 | return tmp; | 618 | return tmp; |
619 | } | 619 | } |
620 | GNUNET_free (tmp); | 620 | GNUNET_free (tmp); |