Fix the malloc type used in sys_shm_unlink() after r354808.
PR: 244563 Reported by: swills
This commit is contained in:
parent
fd1efedc79
commit
4cf919edb9
@ -961,7 +961,7 @@ sys_shm_unlink(struct thread *td, struct shm_unlink_args *uap)
|
||||
sx_xlock(&shm_dict_lock);
|
||||
error = shm_remove(path, fnv, td->td_ucred);
|
||||
sx_xunlock(&shm_dict_lock);
|
||||
free(path, M_TEMP);
|
||||
free(path, M_SHMFD);
|
||||
|
||||
return (error);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user