aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/symbols.py
diff options
context:
space:
mode:
authorWANG Cong <[email protected]>2016-11-03 09:42:35 -0700
committerDavid S. Miller <[email protected]>2016-11-03 16:52:29 -0400
commit00ffc1ba02d876478c125e4305f9a02d40c6d284 (patch)
treec21c7a5a82b60085cd8b987d983c78a2443ecb05 /scripts/gdb/linux/symbols.py
parent990ff4d84408fc55942ca6644f67e361737b3d8e (diff)
genetlink: fix a memory leak on error path
In __genl_register_family(), when genl_validate_assign_mc_groups() fails, we forget to free the memory we possibly allocate for family->attrbuf. Note, some callers call genl_unregister_family() to clean up on error path, it doesn't work because the family is inserted to the global list in the nearly last step. Cc: Jakub Kicinski <[email protected]> Cc: Johannes Berg <[email protected]> Signed-off-by: Cong Wang <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/symbols.py')
0 files changed, 0 insertions, 0 deletions