Commit ab2f25d4 authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

webservices: Avoid a warning from HeapDestroy.

parent bb535b1a
...@@ -216,7 +216,7 @@ HRESULT WINAPI WsCreateHeap( SIZE_T max_size, SIZE_T trim_size, const WS_HEAP_PR ...@@ -216,7 +216,7 @@ HRESULT WINAPI WsCreateHeap( SIZE_T max_size, SIZE_T trim_size, const WS_HEAP_PR
static void reset_heap( struct heap *heap ) static void reset_heap( struct heap *heap )
{ {
HeapDestroy( heap->handle ); if (heap->handle) HeapDestroy( heap->handle );
heap->handle = NULL; heap->handle = NULL;
heap->max_size = heap->allocated = 0; heap->max_size = heap->allocated = 0;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment