dect
/
libnl
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
libnl/lib
Nicolas CARRIER f54ac3d55f Memory leak in classid.c
I'm using libnl in a program which I give to valgrind
in order to track memory errors / leaks. When my program
exits, it complains about non-freed memory, allocated in
3 places in classid.c, at lines 280, 284 and 289.

It seems related to the module's constructor classid_init
which allocates resources, with no destructor to free it.

The attached patch tries to fix this issue by registering
a destructor which performs the tree liberation at exit.
2012-04-19 18:51:17 +02:00
..
cli Support plug qdisc - queue traffic until explicit release 2012-02-14 12:02:04 +01:00
fib_lookup Updated link documentation 2011-07-28 16:23:57 +02:00
genl genl: genl_ctrl_grp_by_name: fix retval in case group id not found 2011-08-31 12:35:56 +02:00
netfilter rename nl_send_auto_complete() -> nl_send_auto(), nl_auto_complete -> nl_complete_msg() 2010-11-18 14:13:49 +01:00
route Memory leak in classid.c 2012-04-19 18:51:17 +02:00
.gitignore Build separate libraries for each netilnk family 2008-05-15 18:01:50 +02:00
Makefile.am Support plug qdisc - queue traffic until explicit release 2012-02-14 12:02:04 +01:00
addr.c nl_addr_cmp(): handle prefix length during address comparison 2012-01-12 10:18:35 +01:00
attr.c Omit empty nested attributes 2011-03-23 13:39:18 +01:00
cache.c Add new nl_cache_clone() function. 2012-02-16 13:42:49 +01:00
cache_mngr.c avoid dangling co_major_cache reference to NL_AUTO_PROVIDE caches 2012-01-11 12:31:40 +01:00
cache_mngt.c Provide silent variation of nl_cache_require() 2011-05-11 09:33:29 +02:00
data.c restructure module documentation order 2008-12-10 18:12:30 +01:00
error.c Support for NLM_F_INTR 2011-07-14 10:51:49 +02:00
handlers.c restructure module documentation order 2008-12-10 18:12:30 +01:00
msg.c Make some functions and global variables static 2011-08-11 14:49:51 +02:00
nl.c Fix typo in debug message 2011-10-28 12:30:31 +02:00
object.c Provide nl_object_dump_buf() to easily dump to buffers 2011-04-10 10:22:01 +02:00
socket.c socket: fix two typos 2011-08-31 09:24:01 +02:00
utils.c utils: Initialize list head after freeing translation list 2011-10-10 12:02:33 +02:00