msi: Free the Streams and Storages view object in their respective delete methods.
This commit is contained in:
parent
f45db6eee7
commit
ee2cf9a597
|
@ -443,6 +443,7 @@ static UINT STORAGES_delete(struct tagMSIVIEW *view)
|
|||
|
||||
msi_free(sv->storages);
|
||||
sv->storages = NULL;
|
||||
msi_free(sv);
|
||||
|
||||
return ERROR_SUCCESS;
|
||||
}
|
||||
|
|
|
@ -407,6 +407,7 @@ static UINT STREAMS_delete(struct tagMSIVIEW *view)
|
|||
}
|
||||
|
||||
msi_free(sv->streams);
|
||||
msi_free(sv);
|
||||
|
||||
return ERROR_SUCCESS;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue