msi: Free the Streams and Storages view object in their respective delete methods.

This commit is contained in:
James Hawkins 2009-12-13 19:36:27 -08:00 committed by Alexandre Julliard
parent f45db6eee7
commit ee2cf9a597
2 changed files with 2 additions and 0 deletions

View File

@ -443,6 +443,7 @@ static UINT STORAGES_delete(struct tagMSIVIEW *view)
msi_free(sv->storages);
sv->storages = NULL;
msi_free(sv);
return ERROR_SUCCESS;
}

View File

@ -407,6 +407,7 @@ static UINT STREAMS_delete(struct tagMSIVIEW *view)
}
msi_free(sv->streams);
msi_free(sv);
return ERROR_SUCCESS;
}