mirror of
https://github.com/mpv-player/mpv
synced 2025-02-28 11:20:56 +00:00
free MSTRZ args also if parser fails
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14596 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
aba32969ba
commit
1aef2d64ea
@ -217,6 +217,8 @@ static uint32_t preinit(const char *arg) {
|
|||||||
"Example: mplayer -vo zr2:dev=/dev/video1:"
|
"Example: mplayer -vo zr2:dev=/dev/video1:"
|
||||||
"norm=PAL movie.avi\n\n"
|
"norm=PAL movie.avi\n\n"
|
||||||
, guess_device(NULL, 0));
|
, guess_device(NULL, 0));
|
||||||
|
free(norm_arg);
|
||||||
|
free(dev_arg);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user