X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=util%2Fnmem.c;fp=util%2Fnmem.c;h=95454718876becb3dc67ca6226d4924e951e7ea2;hp=375957c43ffc7616e449b91c757570b59a254789;hb=de70f47f9680c5fd7b3863f2a647d6dc760c2d98;hpb=d8b453a7e9a34f0254a3d9483a26add0aff3eb6c diff --git a/util/nmem.c b/util/nmem.c index 375957c..9545471 100644 --- a/util/nmem.c +++ b/util/nmem.c @@ -3,7 +3,7 @@ * See the file LICENSE for details. * Sebastian Hammer, Adam Dickmeiss * - * $Id: nmem.c,v 1.34 2001-11-18 21:05:13 adam Exp $ + * $Id: nmem.c,v 1.35 2002-06-12 19:42:38 adam Exp $ */ /* @@ -231,8 +231,8 @@ void *nmem_malloc(NMEM n, int size) #endif if (!n) { + yaz_log (LOG_FATAL, "calling nmem_malloc with an null pointer"); abort (); - return xmalloc(size); } #ifdef WIN32 assert (nmem_init_flag);