summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorErik de Castro Lopo <erikd@mega-nerd.com>2016-05-28 17:44:10 +1100
committerAkira TAGOH <akira@tagoh.org>2016-05-30 10:30:10 +0900
commitea26c5e9f85fb03e89b144878d338d80979a9560 (patch)
treee26a35ba0812183a2ac1bcd9bc660dcdf09c764b /test
parent7441dbec0322f24d6f94bf31fc824cc08d3e9025 (diff)
Fix a couple of minor memory leaks
These fixes are needed for the test suite to pass when compiled with Address Sanitizer.
Diffstat (limited to 'test')
-rw-r--r--test/test-bz89617.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test-bz89617.c b/test/test-bz89617.c
index 35df8852..f8139a66 100644
--- a/test/test-bz89617.c
+++ b/test/test-bz89617.c
@@ -34,5 +34,7 @@ main (void)
FcConfigAppFontAddFile (config, (const FcChar8 *)"/dev/null"))
return 1;
+ FcConfigDestroy (config);
+
return 0;
}