diff options
author | Simon Howard | 2006-05-20 21:37:34 +0000 |
---|---|---|
committer | Simon Howard | 2006-05-20 21:37:34 +0000 |
commit | 47287b653271d94cb0fa49833db621a048df2ca1 (patch) | |
tree | 0df200305e7515bd2e5a2435ae134867e9222667 | |
parent | 1df732ab78cb0ff08104e67dedf57cbd1d176f28 (diff) | |
download | chocolate-doom-47287b653271d94cb0fa49833db621a048df2ca1.tar.gz chocolate-doom-47287b653271d94cb0fa49833db621a048df2ca1.tar.bz2 chocolate-doom-47287b653271d94cb0fa49833db621a048df2ca1.zip |
Add missing free() call.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 496
-rw-r--r-- | textscreen/txt_button.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) |