Huzzah, ordering matters.

This commit is contained in:
Themaister 2011-08-09 00:11:09 +02:00
parent 594e66704d
commit a405708f1c

View File

@ -485,12 +485,12 @@ void init_video_input(void)
void uninit_video_input(void)
{
if ( driver.video_data && driver.video )
driver.video->free(driver.video_data);
if ( driver.input_data != driver.video_data && driver.input )
driver.input->free(driver.input_data);
if ( driver.video_data && driver.video )
driver.video->free(driver.video_data);
deinit_filter();
#ifdef HAVE_XML