aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/t-logging.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/t-logging.c b/tests/t-logging.c
index a1783ef..4fcb64b 100644
--- a/tests/t-logging.c
+++ b/tests/t-logging.c
@@ -142,6 +142,7 @@ check_log_info (void)
if (strcmp (logbuf,
"t-logging: file '/foo/bar.txt\\nt-logging': not \\x01 found\n"))
fail ("log_info test failed at line %d\n", __LINE__);
+ free (logbuf);
/* With arguments and byte with bit 7 set in a string arg. */
log_info ("file '%s': %s\n", "/foo/bar.txt\n", "not \x81 found");