diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-12-14 11:15:09 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-12-15 10:37:02 +0100 |
commit | d4465b719344c4b241c55779de4d49ed248b243a (patch) | |
tree | 9db66f91ca48690982780240dc8e2d2bd69f2ba0 /nx-X11/programs/Xserver/hw/nxagent/compext/Z.c | |
parent | 8cca3f09d85a4eaab2df1d671a0f57972b1c167d (diff) | |
download | nx-libs-d4465b719344c4b241c55779de4d49ed248b243a.tar.gz nx-libs-d4465b719344c4b241c55779de4d49ed248b243a.tar.bz2 nx-libs-d4465b719344c4b241c55779de4d49ed248b243a.zip |
Xserver/hw/nxagent/compext: Xfree -> free and Xmalloc -> malloc.
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/compext/Z.c')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/compext/Z.c | 8 |
1 files changed, 4 insertions, 4 deletions
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; |