[PATCH] msi: Also fix component derferencing NULL (Coverity)
Marcus Meissner
marcus at jet.franken.de
Sat Jun 11 04:29:49 CDT 2011
Hi,
similar to 5 lines above. CID 5111.
Ciao, Marcus
---
dlls/msi/font.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/msi/font.c b/dlls/msi/font.c
index 7c1a859..0edc853 100644
--- a/dlls/msi/font.c
+++ b/dlls/msi/font.c
@@ -307,7 +307,7 @@ static UINT ITERATE_UnregisterFonts( MSIRECORD *row, LPVOID param )
comp = msi_get_loaded_component( package, file->Component->Component );
if (!comp)
{
- WARN("unable to find component %s\n", debugstr_w(comp->Component));
+ WARN("unable to find component %s\n", debugstr_w(file->Component->Component));
return ERROR_SUCCESS;
}
comp->Action = msi_get_component_action( package, comp );
--
1.7.3.4
More information about the wine-patches
mailing list