summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2008-09-17 13:33:13 +0200
committerDanny Baumann <dannybaumann@web.de>2008-09-17 13:33:13 +0200
commit796b3cbb29f8b957e90763b3cf52335ea88505d2 (patch)
tree5f258741628e9614ae5a6d9f543a4cac80f40db1
parent880e8c1263cd057236cce87ea4898d158dc3a2c7 (diff)
Fix potential memleak.
-rw-r--r--gtk/window-decorator/gtk-window-decorator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/window-decorator/gtk-window-decorator.c b/gtk/window-decorator/gtk-window-decorator.c
index d018a42d..3da0d2ec 100644
--- a/gtk/window-decorator/gtk-window-decorator.c
+++ b/gtk/window-decorator/gtk-window-decorator.c
@@ -2731,7 +2731,7 @@ get_mwm_prop (Window xwindow)
if (err != Success || result != Success)
return decor;
- if (n && data)
+ if (data)
{
MwmHints *mwm_hints = (MwmHints *) data;