diff --git a/dlls/msi/custom.c b/dlls/msi/custom.c index 391bf9af80f..6fa1038be1b 100644 --- a/dlls/msi/custom.c +++ b/dlls/msi/custom.c @@ -391,6 +391,7 @@ static MSIBINARY *create_temp_binary( MSIPACKAGE *package, LPCWSTR source, BOOL if (file == INVALID_HANDLE_VALUE) { msiobj_release( &row->hdr ); + msi_free( binary ); return NULL; } do