From 00b1ad8e18b91f1b59d6797aaf8b84aa6b6beb93 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sat, 12 Sep 2009 09:42:03 +0000 Subject: [PATCH] Plug an X11 property leak in Client::getSyncCounter() svn path=/trunk/KDE/kdebase/workspace/; revision=1022615 --- client.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client.cpp b/client.cpp index 8a9a920ed4..955bb6a963 100644 --- a/client.cpp +++ b/client.cpp @@ -1740,6 +1740,9 @@ void Client::getSyncCounter() &attrs ); } } + + if( ret == Success ) + XFree( propRet ); #endif }