Michael Stefaniuc : hhctrl.ocx: Remove a stray heap_alloc(0) (Smatch).

Alexandre Julliard julliard at winehq.org
Wed Feb 10 10:44:51 CST 2010


Module: wine
Branch: master
Commit: e8993f3ddd00333c1de2943ae4877800f4bfd077
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=e8993f3ddd00333c1de2943ae4877800f4bfd077

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Tue Feb  9 23:01:37 2010 +0100

hhctrl.ocx: Remove a stray heap_alloc(0) (Smatch).

---

 dlls/hhctrl.ocx/search.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/dlls/hhctrl.ocx/search.c b/dlls/hhctrl.ocx/search.c
index c584b66..f81e46c 100644
--- a/dlls/hhctrl.ocx/search.c
+++ b/dlls/hhctrl.ocx/search.c
@@ -97,7 +97,6 @@ static WCHAR *SearchCHM_File(IStorage *pStorage, const WCHAR *file, const char *
     stream_init(&stream, temp_stream);
 
     /* Remove all HTML formatting and record the title */
-    buffer = heap_alloc(0);
     while(next_node(&stream, &node)) {
         get_node_name(&node, &node_name);
 




More information about the wine-cvs mailing list