Add a missing msiobj_release that was resulting in a leaked object
with each MsiCreateRecord call.
This commit is contained in:
parent
41fbee0e83
commit
2494e4a52a
|
@ -98,6 +98,7 @@ MSIHANDLE WINAPI MsiCreateRecord( unsigned int cParams )
|
||||||
rec = MSI_CreateRecord( cParams );
|
rec = MSI_CreateRecord( cParams );
|
||||||
if( rec )
|
if( rec )
|
||||||
ret = alloc_msihandle( &rec->hdr );
|
ret = alloc_msihandle( &rec->hdr );
|
||||||
|
msiobj_release( &rec->hdr );
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue