[vlc-devel] commit: Introduce realloc_or_free() to src/*, and add assert() to mark unhandled ENOMEM error conditions. Allocation shrinking or otherwise handled allocations don' t need realloc_or_free. (JP Dinger )

git version control git at videolan.org
Sat Dec 5 22:35:16 CET 2009


vlc | branch: master | JP Dinger <jpd at videolan.org> | Sat Dec  5 09:11:42 2009 +0100| [4e4720311a10bf0917cc826369438c6565d56a4f] | committer: JP Dinger 

Introduce realloc_or_free() to src/*, and add assert() to mark unhandled ENOMEM error conditions. Allocation shrinking or otherwise handled allocations don't need realloc_or_free.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4e4720311a10bf0917cc826369438c6565d56a4f
---

 src/control/media_list_path.h |   10 +++++++++-
 src/extras/libc.c             |    4 +++-
 src/input/es_out.c            |    9 +++++++--
 src/input/input.c             |    6 ++++--
 src/input/stream.c            |   11 +++++++----
 src/input/vlmshell.c          |    5 ++++-
 src/misc/messages.c           |    8 +++++---
 src/misc/objects.c            |    9 ++++-----
 src/misc/variables.c          |   10 +++++++---
 src/modules/entry.c           |    3 ++-
 src/modules/modules.c         |    3 ++-
 src/network/httpd.c           |    3 ++-
 src/network/io.c              |    4 +++-
 src/playlist/fetcher.c        |    4 ++--
 src/text/strings.c            |    2 ++
 15 files changed, 63 insertions(+), 28 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=4e4720311a10bf0917cc826369438c6565d56a4f



More information about the vlc-devel mailing list