mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
Remember to actually free the pv_entry in pmap_remove_entry().
This commit is contained in:
parent
d9cdd9607f
commit
27dfd0caa3
1 changed files with 1 additions and 0 deletions
|
|
@ -1050,6 +1050,7 @@ pmap_remove_entry(pmap_t pmap, vm_page_t m, vm_offset_t va, pv_entry_t pv)
|
|||
vm_page_flag_clear(m, PG_MAPPED | PG_WRITEABLE);
|
||||
|
||||
TAILQ_REMOVE(&pmap->pm_pvlist, pv, pv_plist);
|
||||
free_pv_entry(pv);
|
||||
return 0;
|
||||
} else {
|
||||
return ENOENT;
|
||||
|
|
|
|||
Loading…
Reference in a new issue