aboutsummaryrefslogtreecommitdiff
path: root/src/ats-tests/ats-testing-log.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2014-12-17 03:43:36 +0000
committerChristian Grothoff <christian@grothoff.org>2014-12-17 03:43:36 +0000
commit4d804ac71152b376b93adfd461d10c6efa5bb0b0 (patch)
tree91de75deb558e9d99f07b14ace3623709e070549 /src/ats-tests/ats-testing-log.c
parent18deec1f15888454a5ec35351126512612754f57 (diff)
downloadgnunet-4d804ac71152b376b93adfd461d10c6efa5bb0b0.tar.gz
gnunet-4d804ac71152b376b93adfd461d10c6efa5bb0b0.zip
-leaks, leaks leaks
Diffstat (limited to 'src/ats-tests/ats-testing-log.c')
-rw-r--r--src/ats-tests/ats-testing-log.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/ats-tests/ats-testing-log.c b/src/ats-tests/ats-testing-log.c
index dd856a2d5..ab8fdefcd 100644
--- a/src/ats-tests/ats-testing-log.c
+++ b/src/ats-tests/ats-testing-log.c
@@ -483,6 +483,7 @@ GNUNET_ATS_TEST_logging_write_to_file (struct LoggingHandle *l,
483 { 483 {
484 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Cannot open log file `%s'\n", filename_slaves[c_s]); 484 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Cannot open log file `%s'\n", filename_slaves[c_s]);
485 GNUNET_free (filename_slaves[c_s]); 485 GNUNET_free (filename_slaves[c_s]);
486 GNUNET_break (GNUNET_OK == GNUNET_DISK_file_close(f_m));
486 return; 487 return;
487 } 488 }
488 489
@@ -601,8 +602,10 @@ GNUNET_ATS_TEST_logging_write_to_file (struct LoggingHandle *l,
601 602
602 if (GNUNET_SYSERR == GNUNET_DISK_file_close(f_m)) 603 if (GNUNET_SYSERR == GNUNET_DISK_file_close(f_m))
603 { 604 {
604 GNUNET_log (GNUNET_ERROR_TYPE_ERROR, 605 GNUNET_log_strerror_file (GNUNET_ERROR_TYPE_ERROR,
605 "Cannot close log file `%s'\n", filename_master); 606 "close",
607 filename_master);
608 GNUNET_free (filename_master);
606 return; 609 return;
607 } 610 }
608 GNUNET_log (GNUNET_ERROR_TYPE_INFO, 611 GNUNET_log (GNUNET_ERROR_TYPE_INFO,