[MPlayer-cvslog] r27871 - trunk/loader/dshow/outputpin.c

reimar subversion at mplayerhq.hu
Fri Oct 31 14:13:52 CET 2008


Author: reimar
Date: Fri Oct 31 14:13:52 2008
New Revision: 27871

Log:
Missing free in malloc error case in COutputPinCreate.


Modified:
   trunk/loader/dshow/outputpin.c

Modified: trunk/loader/dshow/outputpin.c
==============================================================================
--- trunk/loader/dshow/outputpin.c	(original)
+++ trunk/loader/dshow/outputpin.c	Fri Oct 31 14:13:52 2008
@@ -906,6 +906,7 @@ COutputPin* COutputPinCreate(const AM_ME
     if (!This->vt || !This->mempin || !ivt)
     {
         COutputPin_Destroy(This);
+        free(ivt);
 	return NULL;
     }
 



More information about the MPlayer-cvslog mailing list