diff options
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); |