mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
- Don't try to free string that isn't allocated.
svn path=/trunk/; revision=12248
This commit is contained in:
parent
28196d0b54
commit
e9808cae5d
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue