CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2020/07/18 09:07:52

Modified files:
        sys/net        : pfkeyv2.c 

Log message:
Add size to free(9) calls

pfkeyv2_get() and pfkeyv2_dump_policy() allocate buffers and can pass back
their sizes, those sizes are already used during copyout() and such.

Make one pfkeyv2_dump_policy() call pass back the size and reuse all sizes
in the respective free(9) calls.

Tested and OK tobhe

Reply via email to