summaryrefslogtreecommitdiff
path: root/plugins/dfcdrom/cdr-linux.c
diff options
context:
space:
mode:
authorSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-07-08 02:20:40 +0000
committerSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-07-08 02:20:40 +0000
commit2e61352b441ad25b01cf574269cda55d7944ac47 (patch)
tree7cedfdd0b7d251cdac6b2be319b890fc6b41b196 /plugins/dfcdrom/cdr-linux.c
parentd90ff02b76e0703cde0e7a6e3d7799b832594b9b (diff)
downloadpcsxr-2e61352b441ad25b01cf574269cda55d7944ac47.tar.gz
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@54333 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'plugins/dfcdrom/cdr-linux.c')
-rw-r--r--plugins/dfcdrom/cdr-linux.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/dfcdrom/cdr-linux.c b/plugins/dfcdrom/cdr-linux.c
index d0e520b2..b55e15d2 100644
--- a/plugins/dfcdrom/cdr-linux.c
+++ b/plugins/dfcdrom/cdr-linux.c
@@ -47,6 +47,7 @@ int OpenCdHandle(const char *dev) {
void CloseCdHandle(int handle) {
char spindown = SPINDOWN_VENDOR_SPECIFIC;
ioctl(handle, CDROMSETSPINDOWN, &spindown);
+
close(handle);
}