summaryrefslogtreecommitdiff
path: root/src/propertywriter.cpp
diff options
context:
space:
mode:
authorSam Spilsbury <smspillaz@gmail.com>2010-10-24 02:09:38 +0800
committerSam Spilsbury <smspillaz@gmail.com>2010-10-24 22:42:07 +0800
commit7a58322095922f5c34c83d140fb51c4927db0093 (patch)
tree3fb52409bee8e2ef00d6128505c11832f9f3189d /src/propertywriter.cpp
parent7d6e2e8c9a1f579c17187204c14cc7072bf3e424 (diff)
downloadunity-window-decorator-7a58322095922f5c34c83d140fb51c4927db0093.tar.gz
unity-window-decorator-7a58322095922f5c34c83d140fb51c4927db0093.tar.bz2
Use XFreeStringList to recursively free the entire array
Diffstat (limited to 'src/propertywriter.cpp')
-rw-r--r--src/propertywriter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/propertywriter.cpp b/src/propertywriter.cpp
index 1140364..95fc9c6 100644
--- a/src/propertywriter.cpp
+++ b/src/propertywriter.cpp
@@ -205,7 +205,7 @@ PropertyWriter::readProperty (Window id)
count++;
}
- XFree (tData);
+ XFreeStringList (tData);
XFree (data);
XFree (tProp.value);
@@ -213,7 +213,7 @@ PropertyWriter::readProperty (Window id)
}
else
{
- XFree (tData);
+ XFreeStringList (tData);
XFree (data);
XFree (tProp.value);