mirror of
https://github.com/reactos/reactos.git
synced 2024-07-06 20:55:16 +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
|
@ -766,7 +766,6 @@ Return Value:
|
||||||
--*/
|
--*/
|
||||||
{
|
{
|
||||||
CHAR ntNameBuffer[64];
|
CHAR ntNameBuffer[64];
|
||||||
UNICODE_STRING ntUnicodeString;
|
|
||||||
NTSTATUS status;
|
NTSTATUS status;
|
||||||
BOOLEAN changerDevice;
|
BOOLEAN changerDevice;
|
||||||
SCSI_REQUEST_BLOCK srb;
|
SCSI_REQUEST_BLOCK srb;
|
||||||
|
@ -815,7 +814,6 @@ Return Value:
|
||||||
DebugPrint((1,"CreateCdRomDeviceObjects: Can not create device %s\n",
|
DebugPrint((1,"CreateCdRomDeviceObjects: Can not create device %s\n",
|
||||||
ntNameBuffer));
|
ntNameBuffer));
|
||||||
|
|
||||||
RtlFreeUnicodeString(&ntUnicodeString);
|
|
||||||
goto CreateCdRomDeviceObjectExit;
|
goto CreateCdRomDeviceObjectExit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue