summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-07-17 16:06:48 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-07-17 16:06:48 (EDT)
commitebcbcbbb38bb9e8caee0197575bbe97f28e40b1d (patch)
treed3c8c6fa862a05877f5c4de27f0b0beee9b57456
parenteb0666356ad010478dc51f32dfdef09f256721cf (diff)
main(): Destroy text
-rw-r--r--src/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 0731f7b..b04fb70 100644
--- a/src/main.c
+++ b/src/main.c
@@ -35,6 +35,7 @@ main(int argc, char **argv)
text = text_new(argv[1]);
image = image_new("test.png");
image_render(image, text);
+ text_destroy(&text);
image_destroy(&image);
return 0;