http://git.etersoft.ru/projects
/
wine
/
eterwine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fdb8099
)
Fix Office 2007 Installer crash
author
Mike Kaplinksiy
<mike.kaplinskiy@gmail.com>
Wed, 29 Apr 2009 04:01:48 +0000
(
00:01
-0400)
committer
Vitaly Lipatov
<lav@etersoft.ru>
Sun, 10 May 2009 17:40:57 +0000
(21:40 +0400)
dlls/msi/msiquery.c
patch
|
blob
|
blame
|
history
diff --git
a/dlls/msi/msiquery.c
b/dlls/msi/msiquery.c
index 43c7b4dc52a1844c38e1f9757b805b8c1f953d61..dafc140145c3f6186a69955fc505c4326fd77572 100644
(file)
--- a/
dlls/msi/msiquery.c
+++ b/
dlls/msi/msiquery.c
@@
-481,9
+481,11
@@
UINT WINAPI MsiViewExecute(MSIHANDLE hView, MSIHANDLE hRec)
}
}
- msiobj_lock( &rec->hdr );
+ if (rec)
+ msiobj_lock( &rec->hdr );
ret = MSI_ViewExecute( query, rec );
- msiobj_unlock( &rec->hdr );
+ if (rec)
+ msiobj_unlock( &rec->hdr );
out:
msiobj_release( &query->hdr );