diff options
-rw-r--r-- | src/libw32dll/DirectShow/DS_AudioDecoder.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |