msi: Free the cabinet string on error.

This commit is contained in:
James Hawkins 2007-12-11 21:47:08 -06:00 committed by Alexandre Julliard
parent 80894d1c52
commit d51ed8bd93
1 changed files with 1 additions and 0 deletions

View File

@ -327,6 +327,7 @@ static INT_PTR cabinet_notify(FDINOTIFICATIONTYPE fdint, PFDINOTIFICATION pfdin)
rc = msi_media_get_disk_info(data->package, mi);
if (rc != ERROR_SUCCESS)
{
msi_free(cab);
ERR("Failed to get next cabinet information: %d\n", rc);
return -1;
}