diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2015-09-26 00:28:14 +0200 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2015-09-26 00:28:45 +0200 |
commit | 1fe33b710be26a013090c6c14ae3846940154cab (patch) | |
tree | 3f6a97938d4440307f969f8eb08d96271b0ba034 /nx-X11/programs/Xserver/randr/rrscreen.c | |
parent | d088698324d5e71cb93ccd429f084729ba07872c (diff) | |
download | nx-libs-1fe33b710be26a013090c6c14ae3846940154cab.tar.gz nx-libs-1fe33b710be26a013090c6c14ae3846940154cab.tar.bz2 nx-libs-1fe33b710be26a013090c6c14ae3846940154cab.zip |
use xfree instead of free for xalloced data
This was brought in by a backport since in later versions xalloc/xfree have
been replaced by malloc/free.
Diffstat (limited to 'nx-X11/programs/Xserver/randr/rrscreen.c')
-rw-r--r-- | nx-X11/programs/Xserver/randr/rrscreen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nx-X11/programs/Xserver/randr/rrscreen.c b/nx-X11/programs/Xserver/randr/rrscreen.c index a3851bd60..70a9be0c6 100644 --- a/nx-X11/programs/Xserver/randr/rrscreen.c +++ b/nx-X11/programs/Xserver/randr/rrscreen.c @@ -943,12 +943,12 @@ ProcRRSetScreenConfig (ClientPtr client) if (width < pScrPriv->minWidth || pScrPriv->maxWidth < width) { client->errorValue = width; - free(pData); + xfree (pData); return BadValue; } if (height < pScrPriv->minHeight || pScrPriv->maxHeight < height) { client->errorValue = height; - free(pData); + xfree (pData); return BadValue; } |