From d4465b719344c4b241c55779de4d49ed248b243a Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Thu, 14 Dec 2017 11:15:09 +0100 Subject: Xserver/hw/nxagent/compext: Xfree -> free and Xmalloc -> malloc. --- nx-X11/programs/Xserver/hw/nxagent/compext/Z.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'nx-X11/programs/Xserver/hw/nxagent/compext/Z.c') diff --git a/nx-X11/programs/Xserver/hw/nxagent/compext/Z.c b/nx-X11/programs/Xserver/hw/nxagent/compext/Z.c index 6ee08e236..8f7de4ee1 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/compext/Z.c +++ b/nx-X11/programs/Xserver/hw/nxagent/compext/Z.c @@ -67,7 +67,7 @@ char *ZCompressData(const char *plainData, unsigned int plainSize, int threshold *compressedSize = plainSize + (plainSize / 1000) + 12 + 1; - compressedData = Xmalloc(*compressedSize); + compressedData = malloc(*compressedSize); if (compressedData == NULL) { @@ -129,7 +129,7 @@ char *ZCompressData(const char *plainData, unsigned int plainSize, int threshold plainSize, zError(result)); #endif - Xfree(compressedData); + free(compressedData); *compressedSize = 0; @@ -245,7 +245,7 @@ int ZInitEncoder() { int result; - zStream = Xmalloc(sizeof(z_stream)); + zStream = malloc(sizeof(z_stream)); if (zStream == NULL) { @@ -300,7 +300,7 @@ int ZResetEncoder() #endif } - Xfree(zStream); + free(zStream); } zInitialized = 0; -- cgit v1.2.3