From: André Hentschel Subject: ole32: Print error message when IPersistStorage_Load fails (Coverity) Message-Id: <56536854.1010006@dawncrow.de> Date: Mon, 23 Nov 2015 20:26:12 +0100 Signed-off-by: André Hentschel --- CID 1336207 dlls/ole32/compobj.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dlls/ole32/compobj.c b/dlls/ole32/compobj.c index 2f55076..b146376 100644 --- a/dlls/ole32/compobj.c +++ b/dlls/ole32/compobj.c @@ -3443,7 +3443,9 @@ HRESULT WINAPI CoGetInstanceFromIStorage( if (ps) { - IPersistStorage_Load(ps, storage); + hr = IPersistStorage_Load(ps, storage); + if (FAILED(hr)) + ERR("failed to load storage\n"); IPersistStorage_Release(ps); } -- 1.9.1