mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
don't free a UNICODE_STRING which isn't allocated
svn path=/trunk/; revision=34099
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user