summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorrik <rik@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-01-25 22:25:39 +0000
committerrik <rik@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-01-25 22:25:39 +0000
commit1aef2d64eaa7dee6ed9538a28757868221b864e1 (patch)
tree5692d29863f01ed8735fd99d0e2823375fcbcdb5 /libvo
parentaba32969ba89405d3a5a3961dffb134d51667fdd (diff)
downloadmpv-1aef2d64eaa7dee6ed9538a28757868221b864e1.tar.bz2
mpv-1aef2d64eaa7dee6ed9538a28757868221b864e1.tar.xz
free MSTRZ args also if parser fails
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14596 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_zr2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libvo/vo_zr2.c b/libvo/vo_zr2.c
index 78d2fd73d7..63cd5665a6 100644
--- a/libvo/vo_zr2.c
+++ b/libvo/vo_zr2.c
@@ -217,6 +217,8 @@ static uint32_t preinit(const char *arg) {
"Example: mplayer -vo zr2:dev=/dev/video1:"
"norm=PAL movie.avi\n\n"
, guess_device(NULL, 0));
+ free(norm_arg);
+ free(dev_arg);
return -1;
}