Juan Lang : hhctrl.ocx: Don't return uninitialized stream.
Module: wine Branch: master Commit: 018117e6a3d11dd5c38671c5bbc61babebb585ef URL: http://source.winehq.org/git/wine.git/?a=commit;h=018117e6a3d11dd5c38671c5bb... Author: Juan Lang <juan.lang(a)gmail.com> Date: Tue Jan 15 07:58:49 2008 -0800 hhctrl.ocx: Don't return uninitialized stream. --- dlls/hhctrl.ocx/chm.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/hhctrl.ocx/chm.c b/dlls/hhctrl.ocx/chm.c index 013cb7d..2a4bfa8 100644 --- a/dlls/hhctrl.ocx/chm.c +++ b/dlls/hhctrl.ocx/chm.c @@ -304,7 +304,7 @@ void SetChmPath(ChmPath *file, LPCWSTR base_file, LPCWSTR path) IStream *GetChmStream(CHMInfo *info, LPCWSTR parent_chm, ChmPath *chm_file) { IStorage *storage; - IStream *stream; + IStream *stream = NULL; HRESULT hres; TRACE("%s (%s :: %s)\n", debugstr_w(parent_chm), debugstr_w(chm_file->chm_file),
participants (1)
-
Alexandre Julliard