diff options
Diffstat (limited to 'src/statistics/gnunet-service-statistics.c')
-rw-r--r-- | src/statistics/gnunet-service-statistics.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/statistics/gnunet-service-statistics.c b/src/statistics/gnunet-service-statistics.c index 1d636bd25..a890d6d8e 100644 --- a/src/statistics/gnunet-service-statistics.c +++ b/src/statistics/gnunet-service-statistics.c | |||
@@ -192,6 +192,7 @@ load (struct GNUNET_SERVER_Handle *server) | |||
192 | rh = GNUNET_BIO_read_open (fn); | 192 | rh = GNUNET_BIO_read_open (fn); |
193 | if (!rh) | 193 | if (!rh) |
194 | { | 194 | { |
195 | GNUNET_free (buf); | ||
195 | GNUNET_free (fn); | 196 | GNUNET_free (fn); |
196 | return; | 197 | return; |
197 | } | 198 | } |
@@ -199,6 +200,7 @@ load (struct GNUNET_SERVER_Handle *server) | |||
199 | { | 200 | { |
200 | GNUNET_log_strerror_file (GNUNET_ERROR_TYPE_WARNING, "read", fn); | 201 | GNUNET_log_strerror_file (GNUNET_ERROR_TYPE_WARNING, "read", fn); |
201 | GNUNET_break (GNUNET_OK == GNUNET_BIO_read_close (rh, &emsg)); | 202 | GNUNET_break (GNUNET_OK == GNUNET_BIO_read_close (rh, &emsg)); |
203 | GNUNET_free (buf); | ||
202 | GNUNET_free_non_null (emsg); | 204 | GNUNET_free_non_null (emsg); |
203 | GNUNET_free (fn); | 205 | GNUNET_free (fn); |
204 | return; | 206 | return; |