Commit bb2d2571 authored by Marcel Sebek's avatar Marcel Sebek Committed by Vojtech Pavlik

input: Fix a memory leak in ns558.c

parent fedb02df
......@@ -289,6 +289,7 @@ void __exit ns558_exit(void)
#endif
case NS558_ISA:
release_region(port->gameport.io & ~(port->size - 1), port->size);
kfree(port);
break;
default:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment