[MPlayer-cvslog] r21033 - trunk/libaf/af_resample.c

uau subversion at mplayerhq.hu
Sat Nov 18 18:07:18 CET 2006


Author: uau
Date: Sat Nov 18 18:07:17 2006
New Revision: 21033

Modified:
   trunk/libaf/af_resample.c

Log:
Fix double free in af_resample when reinited with suitable parameters


Modified: trunk/libaf/af_resample.c
==============================================================================
--- trunk/libaf/af_resample.c	(original)
+++ trunk/libaf/af_resample.c	Sat Nov 18 18:07:17 2006
@@ -173,6 +173,7 @@
 	if(s->xq[i])
 	  free(s->xq[i]);
       free(s->xq);
+      s->xq = NULL;
     }
 
     if(AF_DETACH == (rv = set_types(af,n)))



More information about the MPlayer-cvslog mailing list