- RtlReAllocateHeap shouldn't allocate memory if ptr == NULL.
[reactos.git] / reactos / lib / rtl / heap.c
index c5f7c53..755d813 100644 (file)
@@ -1296,7 +1296,7 @@ LPVOID STDCALL RtlReAllocateHeap(
    SUBHEAP *subheap;
 
    if (!ptr)
-      return RtlAllocateHeap( heap, flags, size );  /* FIXME: correct? */
+      return FALSE;
    if (!(heapPtr = HEAP_GetPtr( heap )))
       return FALSE;