Commit 4a3d7126 authored by Sebastian Lackner's avatar Sebastian Lackner Committed by Alexandre Julliard

services: Fix a typo.

parent f085be30
......@@ -103,7 +103,7 @@ DWORD service_create(LPCWSTR name, struct service_entry **entry)
}
if ((err = process_create(&(*entry)->process)) != ERROR_SUCCESS)
{
HeapFree(GetProcessHeap(), 0, (*entry)->process);
HeapFree(GetProcessHeap(), 0, (*entry)->name);
HeapFree(GetProcessHeap(), 0, *entry);
return err;
}
......
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