13
0

fix yet another possible memory leak

This commit is contained in:
Robin Gareus 2014-03-23 02:19:05 +01:00
parent dbcf22a832
commit 76b2006612

View File

@ -311,8 +311,9 @@ vstfx_instantiate (VSTHandle* fhandle, audioMasterCallback amc, void* userptr)
if(fhandle == 0)
{
vstfx_error( "** ERROR ** VSTFX : The handle was 0\n" );
return 0;
vstfx_error( "** ERROR ** VSTFX : The handle was 0\n" );
free (vstfx);
return 0;
}
if ((vstfx->plugin = fhandle->main_entry (amc)) == 0)