Possible memory leak in the `ff_sendmsg` function.
freak82 opened this issue · comments
Pavel Vazharov commented
Hi there,
It seems to me that the conditionally allocated freebsd_cmsg
is not freed in all code paths in this function.
If the linux2freebsd_msghdr
or the sendit
function calls fail they goto
to the kern_fail
but the freebsd_cmsg
is not freed there.
It's freed only on the non-error code path.