diff options
author | Kristof Provost <kp@FreeBSD.org> | 2018-03-19 21:13:25 +0000 |
---|---|---|
committer | Kristof Provost <kp@FreeBSD.org> | 2018-03-19 21:13:25 +0000 |
commit | b4b8fa3387339468d65278566e31966504a6a75c (patch) | |
tree | 8160a49fcba47350a286f71f708cdc285e4f607c /sys/amd64/linux/linux_sysvec.c | |
parent | 7d48aa4c721a9c37619e27608f035f944ed4a5df (diff) | |
download | src-b4b8fa3387339468d65278566e31966504a6a75c.tar.gz src-b4b8fa3387339468d65278566e31966504a6a75c.zip |
pf: Fix memory leak in DIOCRADDTABLES
If a user attempts to add two tables with the same name the duplicate table
will not be added, but we forgot to free the duplicate table, leaking memory.
Ensure we free the duplicate table in the error path.
Reported by: Coverity
CID: 1382111
MFC after: 3 weeks
Notes
Notes:
svn path=/head/; revision=331225
Diffstat (limited to 'sys/amd64/linux/linux_sysvec.c')
0 files changed, 0 insertions, 0 deletions