From 64b0ab84b5a2bc94d11b27f38b6af6e8a0cd0a38 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Tue, 16 Jul 2013 19:00:37 -0700 Subject: [PATCH] Remove usage of xrealloc/xmalloc. --- src/protocols/rdp/rdp_bitmap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/protocols/rdp/rdp_bitmap.c b/src/protocols/rdp/rdp_bitmap.c index a3047eba..8cb45008 100644 --- a/src/protocols/rdp/rdp_bitmap.c +++ b/src/protocols/rdp/rdp_bitmap.c @@ -196,9 +196,9 @@ void guac_rdp_bitmap_decompress(rdpContext* context, rdpBitmap* bitmap, uint8* d int size = width * height * (bpp + 7) / 8; if (bitmap->data == NULL) - bitmap->data = (uint8*) xmalloc(size); + bitmap->data = (uint8*) malloc(size); else - bitmap->data = (uint8*) xrealloc(bitmap->data, size); + bitmap->data = (uint8*) realloc(bitmap->data, size); if (compressed) bitmap_decompress(data, bitmap->data, width, height, length, bpp, bpp);