mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Correct an oversight: call the MD finalize hook at module unload
time.
This commit is contained in:
parent
edfea6b4ad
commit
bc4f0ade98
1 changed files with 3 additions and 0 deletions
|
|
@ -4656,6 +4656,9 @@ pmc_cleanup(void)
|
|||
if (md->pmd_pcpu_fini)
|
||||
md->pmd_pcpu_fini(cpu);
|
||||
}
|
||||
|
||||
pmc_md_finalize(md);
|
||||
|
||||
free(md, M_PMC);
|
||||
md = NULL;
|
||||
pmc_restore_cpu_binding(&pb);
|
||||
|
|
|
|||
Loading…
Reference in a new issue