ntdll: Remove a redundant NULL check before RtlFreeHeap().
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
7218d48864
commit
7c8832b23a
|
@ -4585,7 +4585,7 @@ NTSTATUS WINAPI RtlCreateActivationContext( HANDLE *handle, const void *ptr )
|
||||||
}
|
}
|
||||||
|
|
||||||
ret = RtlDosPathNameToNtPathName_U(source ? source : pActCtx->lpSource, &nameW, NULL, NULL);
|
ret = RtlDosPathNameToNtPathName_U(source ? source : pActCtx->lpSource, &nameW, NULL, NULL);
|
||||||
if (source) RtlFreeHeap( GetProcessHeap(), 0, source );
|
RtlFreeHeap( GetProcessHeap(), 0, source );
|
||||||
if (!ret)
|
if (!ret)
|
||||||
{
|
{
|
||||||
status = STATUS_NO_SUCH_FILE;
|
status = STATUS_NO_SUCH_FILE;
|
||||||
|
|
Loading…
Reference in New Issue