Commit c7f32310 authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

msi: Avoid a crash in RemoveFiles if the component directory is invalid.

parent e4b2b82e
...@@ -1645,7 +1645,7 @@ UINT ACTION_RemoveFiles( MSIPACKAGE *package ) ...@@ -1645,7 +1645,7 @@ UINT ACTION_RemoveFiles( MSIPACKAGE *package )
else else
{ {
MSIFOLDER *folder = msi_get_loaded_folder( package, comp->Directory ); MSIFOLDER *folder = msi_get_loaded_folder( package, comp->Directory );
remove_folder( folder ); if (folder) remove_folder( folder );
} }
} }
return ERROR_SUCCESS; return ERROR_SUCCESS;
......
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