aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/randr/rrmode.c
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2015-09-26 00:28:14 +0200
committerUlrich Sibiller <uli42@gmx.de>2015-09-26 00:28:45 +0200
commit1fe33b710be26a013090c6c14ae3846940154cab (patch)
tree3f6a97938d4440307f969f8eb08d96271b0ba034 /nx-X11/programs/Xserver/randr/rrmode.c
parentd088698324d5e71cb93ccd429f084729ba07872c (diff)
downloadnx-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/rrmode.c')
-rw-r--r--nx-X11/programs/Xserver/randr/rrmode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/programs/Xserver/randr/rrmode.c b/nx-X11/programs/Xserver/randr/rrmode.c
index db0af33b8..de51bec81 100644
--- a/nx-X11/programs/Xserver/randr/rrmode.c
+++ b/nx-X11/programs/Xserver/randr/rrmode.c
@@ -99,7 +99,7 @@ RRModeCreate (xRRModeInfo *modeInfo,
mode->mode.id = FakeClientID(0);
if (!AddResource(mode->mode.id, RRModeType, (pointer) mode)) {
- free(newModes);
+ xfree(newModes);
return NULL;
}
modes = newModes;