mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 00:45:24 +00:00
don't free a UNICODE_STRING which isn't allocated
svn path=/trunk/; revision=34099
This commit is contained in:
parent
4bcfbf7b99
commit
5616673582
1 changed files with 0 additions and 2 deletions
|
@ -766,7 +766,6 @@ Return Value:
|
|||
--*/
|
||||
{
|
||||
CHAR ntNameBuffer[64];
|
||||
UNICODE_STRING ntUnicodeString;
|
||||
NTSTATUS status;
|
||||
BOOLEAN changerDevice;
|
||||
SCSI_REQUEST_BLOCK srb;
|
||||
|
@ -815,7 +814,6 @@ Return Value:
|
|||
DebugPrint((1,"CreateCdRomDeviceObjects: Can not create device %s\n",
|
||||
ntNameBuffer));
|
||||
|
||||
RtlFreeUnicodeString(&ntUnicodeString);
|
||||
goto CreateCdRomDeviceObjectExit;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue