Module: wine Branch: master Commit: d4d7c263cba6fc0e49ff6efd357f52c966c4816a URL: http://source.winehq.org/git/wine.git/?a=commit;h=d4d7c263cba6fc0e49ff6efd35...
Author: Joris Huizer joris_huizer@yahoo.com Date: Thu Dec 2 22:52:41 2010 +0100
msi: Don't leak memory on error path.
---
dlls/msi/custom.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/msi/custom.c b/dlls/msi/custom.c index 391bf9a..6fa1038 100644 --- a/dlls/msi/custom.c +++ b/dlls/msi/custom.c @@ -391,6 +391,7 @@ static MSIBINARY *create_temp_binary( MSIPACKAGE *package, LPCWSTR source, BOOL if (file == INVALID_HANDLE_VALUE) { msiobj_release( &row->hdr ); + msi_free( binary ); return NULL; } do