aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/src/xcms/cmsProp.c
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/lib/src/xcms/cmsProp.c')
-rw-r--r--nx-X11/lib/src/xcms/cmsProp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nx-X11/lib/src/xcms/cmsProp.c b/nx-X11/lib/src/xcms/cmsProp.c
index a7aa5b5c5..cb7bd10c6 100644
--- a/nx-X11/lib/src/xcms/cmsProp.c
+++ b/nx-X11/lib/src/xcms/cmsProp.c
@@ -142,6 +142,7 @@ _XcmsGetProperty(
if (xgwp_ret != Success || format_ret == 0 || nitems_ret == 0) {
/* the property does not exist or is of an unexpected type or
getting window property failed */
+ XFree (prop_ret);
return(XcmsFailure);
}