From d0f41e08946c311a4fc61188cc66f810f49b7ed9 Mon Sep 17 00:00:00 2001 From: Jon Griffiths Date: Mon, 12 Feb 2001 01:15:37 +0000 Subject: [PATCH] Remove xmalloc/xrealloc limits for large binary resources. --- tools/wrc/utils.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/wrc/utils.c b/tools/wrc/utils.c index cccffea5403..888a24a31e9 100644 --- a/tools/wrc/utils.c +++ b/tools/wrc/utils.c @@ -172,7 +172,6 @@ void *xmalloc(size_t size) void *res; assert(size > 0); - assert(size < 102400); res = malloc(size); if(res == NULL) { @@ -193,7 +192,6 @@ void *xrealloc(void *p, size_t size) void *res; assert(size > 0); - assert(size < 102400); res = realloc(p, size); if(res == NULL) {