HCoop
/
bpt
/
emacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make "xfree (NULL)" a no-op; remove useless if-before-xfree.
[bpt/emacs.git]
/
src
/
gtkutil.c
diff --git
a/src/gtkutil.c
b/src/gtkutil.c
index
fd0fbf7
..
afafee1
100644
(file)
--- a/
src/gtkutil.c
+++ b/
src/gtkutil.c
@@
-3106,7
+3106,7
@@
xg_gtk_scroll_destroy (widget, data)
int id = (int) (EMACS_INT) data; /* The EMACS_INT cast avoids a warning. */
p = g_object_get_data (G_OBJECT (widget), XG_LAST_SB_DATA);
-
if (p)
xfree (p);
+ xfree (p);
xg_remove_widget_from_map (id);
}