diff options
| author | Bhavi Dhingra <b.dhingra@samsung.com> | 2016-07-05 11:37:50 +0530 |
|---|---|---|
| committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2018-03-24 11:13:46 -0700 |
| commit | 50a5a98984097d614227d22a49265e12b172cac7 (patch) | |
| tree | f228e16a3499df26a137f5990357bba7f4f9ae67 | |
| parent | a9dafdd57c71473fa3a2ec4887e973e4e9876d83 (diff) | |
Fix possible memory leak in cmsProp.c:140
https://bugs.freedesktop.org/show_bug.cgi?id=96814
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
| -rw-r--r-- | src/xcms/cmsProp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xcms/cmsProp.c b/src/xcms/cmsProp.c index 2826ee7b..77c072f2 100644 --- a/src/xcms/cmsProp.c +++ b/src/xcms/cmsProp.c @@ -138,6 +138,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); } |
