* Joerg Pommnitz [EMAIL PROTECTED] 2007-12-11 06:52
I think the leak comes from addr_msg_parser. The newly created address object
gets added to the cache with nl_cache_add wich takes a reference, so the
reference in addr_msg_parser should be dropped, e.g. the following patch
might be
Hello Thomas and all,
sorry for bothering you if this is the wrong place. The following tiny program
leaks memory:
#define _GNU_SOURCE
#include sys/socket.h
#include arpa/inet.h
#include stdio.h
#include netlink-local.h
#include netlink/route/addr.h
static void
nl_addr_cb (struct nl_object