diff options
author | Martin Schanzenbach <mschanzenbach@posteo.de> | 2021-03-26 14:28:27 +0100 |
---|---|---|
committer | Martin Schanzenbach <mschanzenbach@posteo.de> | 2021-03-26 14:28:27 +0100 |
commit | fa8b5926395406f96654aa5a0b84848dc4e1a519 (patch) | |
tree | 784111c575f181b7eff616a7a5d8ff7a41ea4394 /src/util/configuration.c | |
parent | 655fc47e417831125d6ebb5f68d4e86371cb931f (diff) | |
download | gnunet-fa8b5926395406f96654aa5a0b84848dc4e1a519.tar.gz gnunet-fa8b5926395406f96654aa5a0b84848dc4e1a519.zip |
-fixing memleaks and nptr derefs
Diffstat (limited to 'src/util/configuration.c')
-rw-r--r-- | src/util/configuration.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/configuration.c b/src/util/configuration.c index bda643b83..3294d11f4 100644 --- a/src/util/configuration.c +++ b/src/util/configuration.c | |||
@@ -606,6 +606,7 @@ GNUNET_CONFIGURATION_write (struct GNUNET_CONFIGURATION_Handle *cfg, | |||
606 | if (NULL == h) | 606 | if (NULL == h) |
607 | { | 607 | { |
608 | GNUNET_free (fn); | 608 | GNUNET_free (fn); |
609 | GNUNET_free (cfg_buf); | ||
609 | return GNUNET_SYSERR; | 610 | return GNUNET_SYSERR; |
610 | } | 611 | } |
611 | if (((ssize_t) size) != | 612 | if (((ssize_t) size) != |