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

Michael Stefaniuc mstefani at redhat.de
Tue Feb 9 16:01:37 CST 2010


There is already a heap_alloc(BLOCK_SIZE) in the declaration of buffer.
---
 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);
 
-- 
1.6.6.1



More information about the wine-patches mailing list