Correctly use realloc return value. Fixes bug #114424.
1 file changed