diff options
author | Martin Schanzenbach <mschanzenbach@posteo.de> | 2021-08-08 17:03:15 +0200 |
---|---|---|
committer | Martin Schanzenbach <mschanzenbach@posteo.de> | 2021-08-08 17:03:15 +0200 |
commit | 8eaf6eafbf7f1bab5f40ade995161ee27a05a84f (patch) | |
tree | be8fe0b9266b3a03c723179318ee990e3ece8e1d /src/util/client.c | |
parent | 615487401fd79c62ea42ad15ad3740995030ec5c (diff) | |
download | gnunet-8eaf6eafbf7f1bab5f40ade995161ee27a05a84f.tar.gz gnunet-8eaf6eafbf7f1bab5f40ade995161ee27a05a84f.zip |
-various coverity fixes
Diffstat (limited to 'src/util/client.c')
-rw-r--r-- | src/util/client.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/client.c b/src/util/client.c index afd2fe900..febc36508 100644 --- a/src/util/client.c +++ b/src/util/client.c | |||
@@ -745,6 +745,8 @@ test_service_configuration (const char *service_name, | |||
745 | service_name, | 745 | service_name, |
746 | "UNIXPATH", | 746 | "UNIXPATH", |
747 | _ ("not a valid filename")); | 747 | _ ("not a valid filename")); |
748 | if (NULL != unixpath) | ||
749 | GNUNET_free (unixpath); | ||
748 | return GNUNET_SYSERR; /* UNIXPATH specified but invalid! */ | 750 | return GNUNET_SYSERR; /* UNIXPATH specified but invalid! */ |
749 | } | 751 | } |
750 | GNUNET_free (unixpath); | 752 | GNUNET_free (unixpath); |