diff --git a/reactos/dll/win32/ws2_32/misc/catalog.c b/reactos/dll/win32/ws2_32/misc/catalog.c index 987dc56887c..d39c7faf612 100644 --- a/reactos/dll/win32/ws2_32/misc/catalog.c +++ b/reactos/dll/win32/ws2_32/misc/catalog.c @@ -68,7 +68,7 @@ CreateCatalogEntry(LPWSTR LibraryName) if (!RtlCreateUnicodeString(&Provider->LibraryName, LibraryName)) { - RtlFreeHeap(GlobalHeap, 0, Provider); + HeapFree(GlobalHeap, 0, Provider); return NULL; }