Add a missing msiobj_release that was resulting in a leaked object

with each MsiCreateRecord call.
oldstable
Aric Stewart 2005-05-07 12:13:08 +00:00 committed by Alexandre Julliard
parent 41fbee0e83
commit 2494e4a52a
1 changed files with 1 additions and 0 deletions

View File

@ -98,6 +98,7 @@ MSIHANDLE WINAPI MsiCreateRecord( unsigned int cParams )
rec = MSI_CreateRecord( cParams );
if( rec )
ret = alloc_msihandle( &rec->hdr );
msiobj_release( &rec->hdr );
return ret;
}