summaryrefslogtreecommitdiff
path: root/print/ghostscript9-agpl-x11/files/patch-base_gsmalloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'print/ghostscript9-agpl-x11/files/patch-base_gsmalloc.c')
-rw-r--r--print/ghostscript9-agpl-x11/files/patch-base_gsmalloc.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/print/ghostscript9-agpl-x11/files/patch-base_gsmalloc.c b/print/ghostscript9-agpl-x11/files/patch-base_gsmalloc.c
deleted file mode 100644
index 6651a121aeb0..000000000000
--- a/print/ghostscript9-agpl-x11/files/patch-base_gsmalloc.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- base/gsmalloc.c.orig 2015-03-30 08:21:24 UTC
-+++ base/gsmalloc.c
-@@ -178,7 +178,7 @@ gs_heap_alloc_bytes(gs_memory_t * mem, u
- } else {
- uint added = size + sizeof(gs_malloc_block_t);
-
-- if (mmem->limit - added < mmem->used)
-+ if (added <= size || mmem->limit - added < mmem->used)
- set_msg("exceeded limit");
- else if ((ptr = (byte *) Memento_label(malloc(added), cname)) == 0)
- set_msg("failed");