diff options
author | 2008-04-04 09:57:58 +0300 | |
---|---|---|
committer | 2008-04-23 13:41:05 +0300 | |
commit | f894294bae1ff9b2c1802a5ae7e73cfdbc26e645 (patch) | |
tree | 946aafc44d5c9c82a6838c8bd282f40d04808243 /mencoder.c | |
parent | b91826280c468b1b5b4baf6e0225dfdb878e214a (diff) |
vo_xv: Free resources in error cases
If preinit() failed after allocating some resources it didn't free
them. Also if preinit() completed but all (if any) calls to config()
failed then uninit() it not free resources. Add checks to uninit() to
make it safe with only a subset of resources allocated, then make it
execute independently of vo_config_count and also make preinit() call
it in error cases.
Diffstat (limited to 'mencoder.c')
0 files changed, 0 insertions, 0 deletions