diff -r be265856322f -r 8192be6e3aef openalbridge/wrappers.c --- 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; }