patch by Limin Wang.
git-svn-id: svn://svn.videolan.org/x264/trunk@628
df754926-b1dd-0310-bc7b-
ec298dee348c
yuv_input_t *h = handle;
if( !h || !h->fh )
return 0;
- return fclose(h->fh);
+ fclose( h->fh );
+ free( h );
+ return 0;
}
/* YUV4MPEG2 raw 420 yuv file operation */
y4m_input_t *h = handle;
if( !h || !h->fh )
return 0;
- return fclose(h->fh);
+ fclose( h->fh );
+ free( h );
+ return 0;
}
/* avs/avi input file support under cygwin */