Revert "correct realloc() usage, on failure realloc will return NULL"
Brought to you by M2X. Needless to mention that this is complete 100% crap. Depending cases, it's not either ignoring errors (and e.g. leaking memory which is very stupid in OOM situations), or worse, introducing bugs in places where realloc() was used correctly. And exactly one day after I WARNED EXPLICITLY AGAINST DOING THIS. This reverts commit ec5d8611.
Showing with 46 additions and 104 deletions