diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-07-05 16:32:34 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-07-05 16:32:34 +0200 |
commit | e31c1d4a9f78c4e31fda1f98fe349b33abdd01a2 (patch) | |
tree | 61df772a93f7f21af7c715ddd4b9a3f1a50e0509 /src/util/os_installation.c | |
parent | 1437556645417e6302862845e7ebcbd4c9908357 (diff) | |
download | gnunet-e31c1d4a9f78c4e31fda1f98fe349b33abdd01a2.tar.gz gnunet-e31c1d4a9f78c4e31fda1f98fe349b33abdd01a2.zip |
GNUNET_free_non_null -> GNUNET_free
Diffstat (limited to 'src/util/os_installation.c')
-rw-r--r-- | src/util/os_installation.c | 8 |
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 |