summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Bosveld <Joel.Bosveld@gmail.com>2008-06-04 07:54:24 +0800
committerJoel Bosveld <Joel.Bosveld@gmail.com>2008-06-04 07:54:24 +0800
commit1035418bba4c8c38b0046889f593e954d17f9d5d (patch)
treefa4bb916aa37f3e89e3a1a1150835cabe9bfbabd
parent319da00356764a33eb5d368f4c90d85ae091ee75 (diff)
downloadjasper-1035418bba4c8c38b0046889f593e954d17f9d5d.tar.gz
jasper-1035418bba4c8c38b0046889f593e954d17f9d5d.tar.bz2
Free button array when removing window objectHEADmaster
-rw-r--r--plugins/text.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/text.c b/plugins/text.c
index c152ac0..d58b1a0 100644
--- a/plugins/text.c
+++ b/plugins/text.c
@@ -309,7 +309,8 @@ textFiniWindow (JasperWindow *window)
TEXT_WINDOW (window);
if(tw->title) free(tw->title);
-
+ if(tw->b) free(tw->b);
+
freePrivateIndex ((JasperObject *) window, tw->buttonPrivateIndex);
free(tw);
}