[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20071213112717.GL11220@postel.suug.ch>
Date: Thu, 13 Dec 2007 12:27:17 +0100
From: Thomas Graf <tgraf@...g.ch>
To: Joerg Pommnitz <pommnitz@...oo.com>
Cc: netdev@...r.kernel.org
Subject: Re: libnl - netlink library: Memory leak in address cache?
* Joerg Pommnitz <pommnitz@...oo.com> 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 correct:
That's correct, thanks for catching this.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists