Commit d51ed8bd authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

msi: Free the cabinet string on error.

parent 80894d1c
...@@ -327,6 +327,7 @@ static INT_PTR cabinet_notify(FDINOTIFICATIONTYPE fdint, PFDINOTIFICATION pfdin) ...@@ -327,6 +327,7 @@ static INT_PTR cabinet_notify(FDINOTIFICATIONTYPE fdint, PFDINOTIFICATION pfdin)
rc = msi_media_get_disk_info(data->package, mi); rc = msi_media_get_disk_info(data->package, mi);
if (rc != ERROR_SUCCESS) if (rc != ERROR_SUCCESS)
{ {
msi_free(cab);
ERR("Failed to get next cabinet information: %d\n", rc); ERR("Failed to get next cabinet information: %d\n", rc);
return -1; return -1;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment