Module: wine Branch: master Commit: b6cfc405bda9729936d348427e8768bbddd4c54f URL: http://source.winehq.org/git/wine.git/?a=commit;h=b6cfc405bda9729936d348427e...
Author: James Hawkins truiken@gmail.com Date: Tue Oct 23 03:06:59 2007 -0500
msi: Release the record only after using the record's data.
---
dlls/msi/action.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/msi/action.c b/dlls/msi/action.c index 80caaac..cff5368 100644 --- a/dlls/msi/action.c +++ b/dlls/msi/action.c @@ -4358,9 +4358,9 @@ static UINT ITERATE_InstallService(MSIRECORD *rec, LPVOID param) }
key = MSI_RecordGetString(row, 6); - msiobj_release(&row->hdr);
file = get_loaded_file(package, key); + msiobj_release(&row->hdr); if (!file) { ERR("Failed to load the service file\n");