Commit fa468e64 authored by Aric Stewart's avatar Aric Stewart Committed by Alexandre Julliard

Fix a few leaking object handles.

parent 9f50a88f
......@@ -656,12 +656,14 @@ static void ui_actiondata(MSIPACKAGE *package, LPCWSTR action, MSIRECORD * recor
if (rc != ERROR_SUCCESS)
{
MSI_ViewClose(view);
msiobj_release(&view->hdr);
return;
}
rc = MSI_ViewFetch(view,&row);
if (rc != ERROR_SUCCESS)
{
MSI_ViewClose(view);
msiobj_release(&view->hdr);
return;
}
......@@ -1713,6 +1715,7 @@ static void load_feature(MSIPACKAGE* package, MSIRECORD * row)
c_indx);
package->features[index].Components[cnt] = c_indx;
package->features[index].ComponentCount ++;
msiobj_release( &row2->hdr );
continue;
}
......
......@@ -1235,6 +1235,7 @@ void msi_dialog_destroy( msi_dialog *dialog )
if( dialog->hwnd )
DestroyWindow( dialog->hwnd );
msiobj_release( &dialog->package->hdr );
dialog->package = NULL;
HeapFree( GetProcessHeap(), 0, dialog );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment