From e9808cae5d410450c4a755c7d511c9587c91dad5 Mon Sep 17 00:00:00 2001 From: Filip Navara Date: Mon, 20 Dec 2004 02:31:48 +0000 Subject: [PATCH] - Don't try to free string that isn't allocated. svn path=/trunk/; revision=12248 --- reactos/lib/ntdll/ldr/utils.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/reactos/lib/ntdll/ldr/utils.c b/reactos/lib/ntdll/ldr/utils.c index c6dcf4a9c96..d82e8d47fee 100644 --- a/reactos/lib/ntdll/ldr/utils.c +++ b/reactos/lib/ntdll/ldr/utils.c @@ -1,4 +1,4 @@ -/* $Id: utils.c,v 1.102 2004/12/15 03:00:33 royce Exp $ +/* $Id: utils.c,v 1.103 2004/12/20 02:31:48 navaraf Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -2017,7 +2017,6 @@ LdrpLoadModule(IN PWSTR SearchPath OPTIONAL, { DPRINT1("Failed to create or open dll section of '%wZ' (Status %lx)\n", &AdjustedName, Status); RtlFreeUnicodeString(&AdjustedName); - RtlFreeUnicodeString(&FullDosName); return Status; } RtlFreeUnicodeString(&AdjustedName);