summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2008-01-04 18:09:45 +0000
committer Aaron Giles <aaron@aarongiles.com>2008-01-04 18:09:45 +0000
commit314928a3339c3c36f820106e3a9679adb19f706d (patch)
tree0f19a2689115612903918307c22cfe152e7b6b83 /src/osd
parent5fb0d53cef1d3dda6918a6da18c675a9ba4f4888 (diff)
(From Oliver Stoneberg)
beastrzb097u2red.patch - added GAME_NOT_WORKING flag, so this bogus bug report can be removed (not even worth 1 buck!) 20080104_1.patch - fixes a memory in src/mame/machine/stvcd.c memoryleak0118u1ora.patch - fixes a memory leak, that only happened when no RawInput API was available memory_leak0111u6ora_1.patch - only a partial patch - model3.c still missing
Diffstat (limited to 'src/osd')
-rw-r--r--src/osd/windows/input.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/osd/windows/input.c b/src/osd/windows/input.c
index aa591d55ebd..b1b36ba60a8 100644
--- a/src/osd/windows/input.c
+++ b/src/osd/windows/input.c
@@ -1095,8 +1095,8 @@ static void dinput_exit(running_machine *machine)
// release all our devices
while (joystick_list != NULL && joystick_list->dinput.device != NULL)
dinput_device_release(joystick_list);
- while (lightgun_list != NULL && lightgun_list->dinput.device != NULL)
- dinput_device_release(lightgun_list);
+ while (lightgun_list != NULL)
+ generic_device_free(lightgun_list);
while (mouse_list != NULL && mouse_list->dinput.device != NULL)
dinput_device_release(mouse_list);
while (keyboard_list != NULL && keyboard_list->dinput.device != NULL)