aboutsummaryrefslogtreecommitdiff
path: root/src/util/os_installation.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/os_installation.c')
-rw-r--r--src/util/os_installation.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/util/os_installation.c b/src/util/os_installation.c
index 714df6957..34b88d761 100644
--- a/src/util/os_installation.c
+++ b/src/util/os_installation.c
@@ -563,11 +563,11 @@ GNUNET_OS_installation_get_path (enum GNUNET_OS_InstallationPathKind dirkind)
563 (GNUNET_YES == GNUNET_DISK_directory_test (tmp, GNUNET_YES))) 563 (GNUNET_YES == GNUNET_DISK_directory_test (tmp, GNUNET_YES)))
564 { 564 {
565 GNUNET_free (execpath); 565 GNUNET_free (execpath);
566 GNUNET_free_non_null (dirname); 566 GNUNET_free (dirname);
567 return tmp; 567 return tmp;
568 } 568 }
569 GNUNET_free (tmp); 569 GNUNET_free (tmp);
570 GNUNET_free_non_null (dirname); 570 GNUNET_free (dirname);
571 } 571 }
572 GNUNET_asprintf (&dirname, 572 GNUNET_asprintf (&dirname,
573 DIR_SEPARATOR_STR "%s" DIR_SEPARATOR_STR, 573 DIR_SEPARATOR_STR "%s" DIR_SEPARATOR_STR,
@@ -643,11 +643,11 @@ GNUNET_OS_installation_get_path (enum GNUNET_OS_InstallationPathKind dirkind)
643 (GNUNET_YES == GNUNET_DISK_directory_test (tmp, GNUNET_YES))) 643 (GNUNET_YES == GNUNET_DISK_directory_test (tmp, GNUNET_YES)))
644 { 644 {
645 GNUNET_free (execpath); 645 GNUNET_free (execpath);
646 GNUNET_free_non_null (dirname); 646 GNUNET_free (dirname);
647 return tmp; 647 return tmp;
648 } 648 }
649 GNUNET_free (tmp); 649 GNUNET_free (tmp);
650 GNUNET_free_non_null (dirname); 650 GNUNET_free (dirname);
651 } 651 }
652 GNUNET_asprintf (&dirname, 652 GNUNET_asprintf (&dirname,
653 DIR_SEPARATOR_STR "%s" DIR_SEPARATOR_STR 653 DIR_SEPARATOR_STR "%s" DIR_SEPARATOR_STR