netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Graf <tgraf@suug.ch>
To: Joerg Pommnitz <pommnitz@yahoo.com>
Cc: netdev@vger.kernel.org
Subject: Re: libnl - netlink library: Memory leak in address cache?
Date: Thu, 13 Dec 2007 12:27:17 +0100	[thread overview]
Message-ID: <20071213112717.GL11220@postel.suug.ch> (raw)
In-Reply-To: <62918.538.qm@web51405.mail.re2.yahoo.com>

* Joerg Pommnitz <pommnitz@yahoo.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.

      reply	other threads:[~2007-12-13 11:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-11 14:52 libnl - netlink library: Memory leak in address cache? Joerg Pommnitz
2007-12-13 11:27 ` Thomas Graf [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20071213112717.GL11220@postel.suug.ch \
    --to=tgraf@suug.ch \
    --cc=netdev@vger.kernel.org \
    --cc=pommnitz@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).