changeset 14595:0ddc0ba54747

free MSTRZ args also if parser fails
author rik
date Tue, 25 Jan 2005 22:25:39 +0000
parents fa603d1e06fc
children 500eb730c784
files libvo/vo_zr2.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_zr2.c	Tue Jan 25 21:55:56 2005 +0000
+++ b/libvo/vo_zr2.c	Tue Jan 25 22:25:39 2005 +0000
@@ -217,6 +217,8 @@
 				"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;
 	}