summaryrefslogtreecommitdiff
path: root/src/workarounds.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/workarounds.cpp')
-rw-r--r--src/workarounds.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/workarounds.cpp b/src/workarounds.cpp
index 27d16fb..86b5001 100644
--- a/src/workarounds.cpp
+++ b/src/workarounds.cpp
@@ -719,6 +719,11 @@ WorkaroundsWindow::getFixedWindowType ()
resName = CompString (classHint.res_name);
XFree (classHint.res_name);
}
+
+ if (classHint.res_class)
+ {
+ XFree (classHint.res_class);
+ }
/* FIXME: Is this the best way to detect a notification type window? */
if (ws->optionGetNotificationDaemonFix ())