diff options
author | ariff <ariff@FreeBSD.org> | 2007-04-02 06:03:47 +0000 |
---|---|---|
committer | ariff <ariff@FreeBSD.org> | 2007-04-02 06:03:47 +0000 |
commit | fe291bbbabdf0f3631095e86d8def11db8fee524 (patch) | |
tree | cbf948760f37054a54ea507b285f5f5afab6d41e /sys/dev/sound/midi/midi.c | |
parent | 78e041986d28eb106928e5dbef14e924aefbbcc5 (diff) | |
download | FreeBSD-src-fe291bbbabdf0f3631095e86d8def11db8fee524.zip FreeBSD-src-fe291bbbabdf0f3631095e86d8def11db8fee524.tar.gz |
Disable seq_modevent(). The implementation is incomplete, and causing
memory leak during unload.
Diffstat (limited to 'sys/dev/sound/midi/midi.c')
-rw-r--r-- | sys/dev/sound/midi/midi.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/sound/midi/midi.c b/sys/dev/sound/midi/midi.c index d068f58..364c6ba 100644 --- a/sys/dev/sound/midi/midi.c +++ b/sys/dev/sound/midi/midi.c @@ -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: |