Revert "correct realloc() usage, on failure realloc will return NULL"
authorRémi Denis-Courmont <remi@remlab.net>
Mon, 25 May 2009 14:42:04 +0000 (17:42 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Mon, 25 May 2009 14:42:45 +0000 (17:42 +0300)
commit30ceb37fe8d1cacb6f8fac51f9c1a2a58d324ca0
treef6cddf9904e92931761207cc2ac1d4099620ae6a
parent2fb0517e920d172c853533fda79aa1a6256f6826
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 ec5d86115480e2ba0f3b36b11c19570cbc75aa51.
13 files changed:
src/control/media_list_path.h
src/extras/libc.c
src/input/es_out.c
src/input/input.c
src/input/stream.c
src/input/vlmshell.c
src/modules/entry.c
src/modules/modules.c
src/network/acl.c
src/network/httpd.c
src/network/io.c
src/playlist/fetcher.c
src/text/strings.c