]> git.sesse.net Git - vlc/commit
Introduce realloc_or_free(), which does what realloc() does but will free the argumen...
authorJP Dinger <jpd@videolan.org>
Sat, 5 Dec 2009 08:06:20 +0000 (09:06 +0100)
committerJP Dinger <jpd@videolan.org>
Sat, 5 Dec 2009 21:25:43 +0000 (22:25 +0100)
commitf7600a71bbdee8407a4eddee197e8d599f6d002b
tree5ac7e318cf180d1a7e7a5482ffc6a50e3459f605
parent27e9a1b06377720603c74d1fff39f3d82de633f1
Introduce realloc_or_free(), which does what realloc() does but will free the argument if the reallocation fails. This is useful in some, but not all, use cases of realloc().
include/vlc_memory.h [new file with mode: 0644]