changeset 2200 | 8192be6e3aef |
parent 2194 | 1597710c6118 |
child 2210 | 1cb7118a77dd |
--- a/openalbridge/wrappers.c Sat Jun 27 09:51:15 2009 +0000 +++ b/openalbridge/wrappers.c Sun Jun 28 14:37:26 2009 +0000 @@ -25,8 +25,10 @@ void *Malloc (size_t nbytes) { void *aptr; - if ( (aptr = malloc(nbytes)) == NULL) + if ( (aptr = malloc(nbytes)) == NULL) { fprintf(stderr, "ERROR: not enough memory! malloc() failed"); + exit(-1); + } return aptr; }