changeset 27837:2a36db2f583d

Missing free in malloc error case in COutputPinCreate.
author reimar
date Fri, 31 Oct 2008 13:13:52 +0000
parents bf7f14c6dfaa
children 13738bdebf9a
files loader/dshow/outputpin.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/loader/dshow/outputpin.c	Fri Oct 31 13:12:54 2008 +0000
+++ b/loader/dshow/outputpin.c	Fri Oct 31 13:13:52 2008 +0000
@@ -906,6 +906,7 @@
     if (!This->vt || !This->mempin || !ivt)
     {
         COutputPin_Destroy(This);
+        free(ivt);
 	return NULL;
     }