diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2019-07-22 22:25:40 +0200 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2019-08-06 21:57:32 +0200 |
commit | 8080ad26a72f8e72fb4c405f5e8a8d1b82c1e30d (patch) | |
tree | 494f2124527b3d07846cec1380b1f7db7f9dff59 /nx-X11/programs | |
parent | 6378d5ade724a43fb21a38f843f2496a367e517f (diff) | |
download | nx-libs-8080ad26a72f8e72fb4c405f5e8a8d1b82c1e30d.tar.gz nx-libs-8080ad26a72f8e72fb4c405f5e8a8d1b82c1e30d.tar.bz2 nx-libs-8080ad26a72f8e72fb4c405f5e8a8d1b82c1e30d.zip |
GCOps.c: use SAFE_free
Diffstat (limited to 'nx-X11/programs')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/GCOps.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/GCOps.c b/nx-X11/programs/Xserver/hw/nxagent/GCOps.c index beb9ef05f..6ab46c424 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/GCOps.c +++ b/nx-X11/programs/Xserver/hw/nxagent/GCOps.c @@ -57,6 +57,7 @@ is" without express or implied warranty. #include "Holder.h" #include "Args.h" #include "Screen.h" +#include "Utils.h" #include "compext/Compext.h" @@ -787,7 +788,7 @@ RegionPtr nxagentCopyArea(DrawablePtr pSrcDrawable, DrawablePtr pDstDrawable, srcx, srcy, width, height); #endif - free(data); + SAFE_free(data); /* * If the source is a shared memory pixmap, the @@ -1007,7 +1008,7 @@ RegionPtr nxagentCopyPlane(DrawablePtr pSrcDrawable, DrawablePtr pDstDrawable, srcx, srcy, width, height); #endif - free(data); + SAFE_free(data); /* * If the source is a shared memory pixmap, the @@ -1545,7 +1546,7 @@ void nxagentFillPolygon(DrawablePtr pDrawable, GCPtr pGC, int shape, RESET_GC_TRAP(); } - free(newPoints); + SAFE_free(newPoints); } void nxagentPolyFillRect(DrawablePtr pDrawable, GCPtr pGC, |