memp.c: Only check for overflow/underflow if an element could be allocated
In other words: Don't dereference NULL pointers
1 file changed