summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}