summaryrefslogtreecommitdiff
path: root/src/test/test-util.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-11-19 16:43:41 +0100
committerLennart Poettering <lennart@poettering.net>2014-11-20 00:01:05 +0100
commite1ba963fdf13f4057b9089e0c732e6c1eb69901e (patch)
tree452d5e33127bf02a77e61558565a5944995818f5 /src/test/test-util.c
parent575ccc1b6900f1f8e5c32da71f42f4d855659622 (diff)
tests: fix minor memory leak
Diffstat (limited to 'src/test/test-util.c')
-rw-r--r--src/test/test-util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test-util.c b/src/test/test-util.c
index 01b0192c1c..01e10c9fc1 100644
--- a/src/test/test-util.c
+++ b/src/test/test-util.c
@@ -1217,6 +1217,7 @@ static void test_unquote_first_word(void) {
p = original = "\'fooo";
assert_se(unquote_first_word(&p, &t, true) > 0);
assert_se(streq(t, "fooo"));
+ free(t);
assert_se(p == original + 5);
p = original = "yay\'foo\'bar";