aboutsummaryrefslogtreecommitdiff
path: root/src/sc_interp.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2014-10-24 23:17:10 +0200
committerThomas White <taw@bitwiz.org.uk>2014-10-24 23:17:10 +0200
commitac80139ce8ae3e65d8ff8ca91a72509b1df58dec (patch)
treef61f494cbb6d0d7ec85f6aab66859c84a7881366 /src/sc_interp.c
parent2721c70f7042ed8991f1dbcf98a205ff43eb2873 (diff)
Fix a memory leak
Diffstat (limited to 'src/sc_interp.c')
-rw-r--r--src/sc_interp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sc_interp.c b/src/sc_interp.c
index 646a132..0d15f81 100644
--- a/src/sc_interp.c
+++ b/src/sc_interp.c
@@ -390,6 +390,7 @@ void sc_interp_destroy(SCInterpreter *scin)
pango_font_description_free(scin->state[0].fontdesc);
+ free(scin->state);
free(scin);
}