Author: cwittich
Date: Thu Jun 26 07:26:31 2008
New Revision: 34099
URL:
http://svn.reactos.org/svn/reactos?rev=34099&view=rev
Log:
don't free a UNICODE_STRING which isn't allocated
Modified:
trunk/reactos/drivers/storage/class/cdrom/cdrom.c
Modified: trunk/reactos/drivers/storage/class/cdrom/cdrom.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/storage/class/cdro…
==============================================================================
--- trunk/reactos/drivers/storage/class/cdrom/cdrom.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/storage/class/cdrom/cdrom.c [iso-8859-1] Thu Jun 26 07:26:31
2008
@@ -766,7 +766,6 @@
--*/
{
CHAR ntNameBuffer[64];
- UNICODE_STRING ntUnicodeString;
NTSTATUS status;
BOOLEAN changerDevice;
SCSI_REQUEST_BLOCK srb;
@@ -815,7 +814,6 @@
DebugPrint((1,"CreateCdRomDeviceObjects: Can not create device %s\n",
ntNameBuffer));
- RtlFreeUnicodeString(&ntUnicodeString);
goto CreateCdRomDeviceObjectExit;
}