nsswitch/libwbclient: clang Fix Potential leak of memory
authorNoel Power <noel.power@suse.com>
Mon, 8 Jul 2019 12:12:59 +0000 (12:12 +0000)
committerGary Lockyer <gary@samba.org>
Thu, 11 Jul 2019 04:08:13 +0000 (04:08 +0000)
commitc19f1c9a3e7fc103754703dff11aa3b63b1edb95
treebf8b5c59c82ffbc44aca8b07daac21508700e1dd
parentc80606274fdb1f1736e74e8da26d918bf259922e
nsswitch/libwbclient: clang Fix Potential leak of memory

Fixes:

nsswitch/libwbclient/wbc_sid.c:848:2: warning: Potential leak of memory pointed to by 'extra_data'
        free(extra_data);
        ^
1 warning generated.
Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
nsswitch/libwbclient/wbc_sid.c