Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
fbb5390a
Commit
fbb5390a
authored
Oct 03, 2003
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoid closing the cdrom if we failed to open it.
parent
78a7c5f2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
cdrom.c
dlls/ntdll/cdrom.c
+1
-2
No files found.
dlls/ntdll/cdrom.c
View file @
fbb5390a
...
@@ -1915,11 +1915,10 @@ NTSTATUS CDROM_DeviceIoControl(DWORD clientID, HANDLE hDevice,
...
@@ -1915,11 +1915,10 @@ NTSTATUS CDROM_DeviceIoControl(DWORD clientID, HANDLE hDevice,
status
=
STATUS_INVALID_PARAMETER
;
status
=
STATUS_INVALID_PARAMETER
;
break
;
break
;
}
}
CDROM_Close
(
clientID
);
error:
error:
piosb
->
u
.
Status
=
status
;
piosb
->
u
.
Status
=
status
;
piosb
->
Information
=
sz
;
piosb
->
Information
=
sz
;
if
(
hEvent
)
NtSetEvent
(
hEvent
,
NULL
);
if
(
hEvent
)
NtSetEvent
(
hEvent
,
NULL
);
CDROM_Close
(
clientID
);
return
status
;
return
status
;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment