diff options
author | manu <manu@FreeBSD.org> | 2017-10-03 08:29:46 +0000 |
---|---|---|
committer | manu <manu@FreeBSD.org> | 2017-10-03 08:29:46 +0000 |
commit | 863da891811d3188bedc68580cb245c27c8367d5 (patch) | |
tree | 37bda38a674a57b3a3b86208718adb84727738d1 /contrib/amd | |
parent | e5f88890a0641bce34bdbee1cb26b62a9077fd60 (diff) | |
download | FreeBSD-src-stable/11.zip FreeBSD-src-stable/11.tar.gz |
MFC r324007, r324012, r324014stable/11
r324007:
mountd: Replace malloc+strcpy to strdup
Reviewed by: bapt
Sponsored by: Gandi.net
Differential Revision: https://reviews.freebsd.org/D12503
r324012:
mountd: Remove unneeded cast
Reported by: kib
X MFC With: r324007
r324014:
mountd: Avoid memory leak by freeing dp_dirp
Introduced in r324007, the data alloced by strdup was never free'ed.
While here, remove cast to caddr_t when freeing dp.
Reported by: bde
X MFC With: r324007
Diffstat (limited to 'contrib/amd')
0 files changed, 0 insertions, 0 deletions