aboutsummaryrefslogtreecommitdiff
path: root/src/nse
diff options
context:
space:
mode:
Diffstat (limited to 'src/nse')
-rw-r--r--src/nse/gnunet-nse-profiler.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nse/gnunet-nse-profiler.c b/src/nse/gnunet-nse-profiler.c
index b6f1c463a..cddaf32ff 100644
--- a/src/nse/gnunet-nse-profiler.c
+++ b/src/nse/gnunet-nse-profiler.c
@@ -440,8 +440,10 @@ stat_iterator (void *cls, const char *subsystem, const char *name,
440 if (size != GNUNET_DISK_file_write (data_file, output_buffer, size)) 440 if (size != GNUNET_DISK_file_write (data_file, output_buffer, size))
441 { 441 {
442 GNUNET_log (GNUNET_ERROR_TYPE_WARNING, "Unable to write to file!\n"); 442 GNUNET_log (GNUNET_ERROR_TYPE_WARNING, "Unable to write to file!\n");
443 GNUNET_free (output_buffer);
443 return GNUNET_SYSERR; 444 return GNUNET_SYSERR;
444 } 445 }
446 GNUNET_free (output_buffer);
445 return GNUNET_OK; 447 return GNUNET_OK;
446} 448}
447 449