Disable seq_modevent(). The implementation is incomplete, and causing

memory leak during unload.
This commit is contained in:
Ariff Abdullah 2007-04-02 06:03:47 +00:00
parent 75a1d5a086
commit ff7499570c

View file

@ -1453,14 +1453,18 @@ midi_modevent(module_t mod, int type, void *data)
switch (type) {
case MOD_LOAD:
retval = midi_load();
#if 0
if (retval == 0)
retval = seq_modevent(mod, type, data);
#endif
break;
case MOD_UNLOAD:
retval = midi_unload();
#if 0
if (retval == 0)
retval = seq_modevent(mod, type, data);
#endif
break;
default: