changeset 32947:0e4fd1834f76

Prefer free() to gfree(). With the memset following now, there is no more reason for gfree().
author ib
date Sun, 06 Mar 2011 13:04:07 +0000
parents d551faf8d07e
children dc026d74dfce
files gui/app.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/gui/app.c	Sun Mar 06 12:30:49 2011 +0000
+++ b/gui/app.c	Sun Mar 06 13:04:07 2011 +0000
@@ -80,8 +80,8 @@
 {
     bpFree(&item->Bitmap);
     bpFree(&item->Mask);
-    gfree((void **)&item->label);
-    gfree((void **)&item->text);
+    free(item->label);
+    free(item->text);
     memset(item, 0, sizeof(*item));
 }