James Hawkins : msi: Free the Streams and Storages view object in their respective delete methods .
Alexandre Julliard
julliard at winehq.org
Mon Dec 14 09:51:22 CST 2009
Module: wine
Branch: master
Commit: ee2cf9a59770dd3d284a4d90a6a0a17f950b4ea2
URL: http://source.winehq.org/git/wine.git/?a=commit;h=ee2cf9a59770dd3d284a4d90a6a0a17f950b4ea2
Author: James Hawkins <truiken at gmail.com>
Date: Sun Dec 13 19:36:27 2009 -0800
msi: Free the Streams and Storages view object in their respective delete methods.
---
dlls/msi/storages.c | 1 +
dlls/msi/streams.c | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/msi/storages.c b/dlls/msi/storages.c
index f2fb317..a54d46f 100644
--- a/dlls/msi/storages.c
+++ b/dlls/msi/storages.c
@@ -443,6 +443,7 @@ static UINT STORAGES_delete(struct tagMSIVIEW *view)
msi_free(sv->storages);
sv->storages = NULL;
+ msi_free(sv);
return ERROR_SUCCESS;
}
diff --git a/dlls/msi/streams.c b/dlls/msi/streams.c
index 61cebff..6b281f4 100644
--- a/dlls/msi/streams.c
+++ b/dlls/msi/streams.c
@@ -407,6 +407,7 @@ static UINT STREAMS_delete(struct tagMSIVIEW *view)
}
msi_free(sv->streams);
+ msi_free(sv);
return ERROR_SUCCESS;
}
More information about the wine-cvs
mailing list