From 655005fefeee38af9a5c36ab49317fef340a5118 Mon Sep 17 00:00:00 2001 From: Ewald Snel Date: Wed, 8 Jan 2003 19:22:32 +0000 Subject: Fix tiny memory leak CVS patchset: 3832 CVS date: 2003/01/08 19:22:32 --- src/libw32dll/DirectShow/DS_AudioDecoder.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libw32dll/DirectShow/DS_AudioDecoder.c b/src/libw32dll/DirectShow/DS_AudioDecoder.c index 79118efb9..2dcf21f9e 100644 --- a/src/libw32dll/DirectShow/DS_AudioDecoder.c +++ b/src/libw32dll/DirectShow/DS_AudioDecoder.c @@ -100,6 +100,8 @@ print_wave_header(this->m_sVhdr2); ALLOCATOR_PROPERTIES props, props1; this->m_pDS_Filter = DS_FilterCreate(dllname, guid, &this->m_sOurType, &this->m_sDestType); if( !this->m_pDS_Filter ) { + free(this->m_sVhdr); + free(this->m_sVhdr2); free(this); return NULL; } -- cgit v1.2.3