aboutsummaryrefslogtreecommitdiff
path: root/src/nse
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-09-06 13:36:18 +0000
committerChristian Grothoff <christian@grothoff.org>2013-09-06 13:36:18 +0000
commit19560d0a705c43f5bc3662c698c1ba11bd67ada3 (patch)
treef2e6e72f6717c932628d21e81cc399218756cfce /src/nse
parent240715f901a8ee70c01f0293ee8fcca76fb85f7d (diff)
downloadgnunet-19560d0a705c43f5bc3662c698c1ba11bd67ada3.tar.gz
gnunet-19560d0a705c43f5bc3662c698c1ba11bd67ada3.zip
-code cleanup
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