diff m_option.c @ 8384:7a7980b874f5

fixed 'mplayer -nosound xxx' sig11 if configfile have string list options (actually there was one dword less allocated... and so got corrupted)
author arpi
date Fri, 06 Dec 2002 17:11:50 +0000
parents 103a2758f9c5
children d3b750570887
line wrap: on
line diff
--- a/m_option.c	Fri Dec 06 09:41:13 2002 +0000
+++ b/m_option.c	Fri Dec 06 17:11:50 2002 +0000
@@ -498,7 +498,7 @@
 
   if(!dst) return 1;
 
-  res = malloc((n+1)*sizeof(char*));
+  res = malloc((n+2)*sizeof(char*));
   ptr = param;
   n = 0;