From ee2cf9a59770dd3d284a4d90a6a0a17f950b4ea2 Mon Sep 17 00:00:00 2001 From: James Hawkins Date: Sun, 13 Dec 2009 19:36:27 -0800 Subject: [PATCH] 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(+) diff --git a/dlls/msi/storages.c b/dlls/msi/storages.c index f2fb3171c82..a54d46fc76e 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 61cebffc82e..6b281f4bc15 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; }