diff options
author | Adam Jackson <ajax@nwnk.net> | 2006-03-15 16:49:04 +0000 |
---|---|---|
committer | Mihai Moldovan <ionic@ionic.de> | 2017-12-07 07:20:55 +0100 |
commit | 43388104df08858c13af7994392581e0ad6a4e4b (patch) | |
tree | 6451ea21e98751caed40c61a479483c22b83777a /nx-X11/programs | |
parent | 6f9a6aacd70685ae0c468df2441cf77627c3e5ee (diff) | |
download | nx-libs-43388104df08858c13af7994392581e0ad6a4e4b.tar.gz nx-libs-43388104df08858c13af7994392581e0ad6a4e4b.tar.bz2 nx-libs-43388104df08858c13af7994392581e0ad6a4e4b.zip |
Coverity # 807: Fix a memory leak in XFixesExpandRegion.
Backported from X.org:
commit 5e106a71b9f8077216d41619402952b0005dd8a4
Author: Adam Jackson <ajax@nwnk.net>
Date: Wed Mar 15 16:49:04 2006 +0000
Coverity # 807: Fix a memory leak in XFixesExpandRegion.
Backported-to-NX-by: Ulrich Sibiller <uli42@gmx.de>
Fixes ArcticaProject/nx-libs#541
Diffstat (limited to 'nx-X11/programs')
-rw-r--r-- | nx-X11/programs/Xserver/xfixes/region.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/xfixes/region.c b/nx-X11/programs/Xserver/xfixes/region.c index 31d19b5ff..18b1d3ff4 100644 --- a/nx-X11/programs/Xserver/xfixes/region.c +++ b/nx-X11/programs/Xserver/xfixes/region.c @@ -817,6 +817,7 @@ ProcXFixesExpandRegion (ClientPtr client) RegionInit(&r, &pTmp[i], 0); RegionUnion(pDestination, pDestination, &r); } + free(pTmp); } if (ret == Success) ret = client->noClientException; |