From 7086373807eb67563169038238713bd134425f86 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sun, 3 May 2015 19:58:12 -0400 Subject: [PATCH] Fixed an error left over in the previous commit. --- darwin/alloc.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/darwin/alloc.m b/darwin/alloc.m index 33bdfea0..736bfe9e 100644 --- a/darwin/alloc.m +++ b/darwin/alloc.m @@ -8,7 +8,7 @@ void *uiAlloc(size_t size) out = malloc(size); if (out == NULL) { - fprintf(stderr, "memory exhausted in uiAlloc() allocating %s\n", type); + fprintf(stderr, "memory exhausted in uiAlloc()\n"); abort(); } memset(out, 0, size); @@ -23,7 +23,7 @@ void *uiRealloc(void *p, size_t size) return uiAlloc(size); out = realloc(p, size); if (out == NULL) { - fprintf(stderr, "memory exhausted in uiRealloc() reallocating %s\n", type); + fprintf(stderr, "memory exhausted in uiRealloc()\n"); abort(); } // TODO zero the extra memory