From 47287b653271d94cb0fa49833db621a048df2ca1 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sat, 20 May 2006 21:37:34 +0000 Subject: Add missing free() call. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 496 --- textscreen/txt_button.c | 1 + 1 file changed, 1 insertion(+) diff --git a/textscreen/txt_button.c b/textscreen/txt_button.c index 57b91c96..b7ae1765 100644 --- a/textscreen/txt_button.c +++ b/textscreen/txt_button.c @@ -44,6 +44,7 @@ static void TXT_ButtonDestructor(txt_widget_t *widget) txt_button_t *button = (txt_button_t *) widget; free(button->label); + free(button); } static int TXT_ButtonKeyPress(txt_widget_t *widget, int key) -- cgit v1.2.3