mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
Disable seq_modevent(). The implementation is incomplete, and causing
memory leak during unload.
This commit is contained in:
parent
75a1d5a086
commit
ff7499570c
1 changed files with 4 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue