From: Denis Kenzior <denkenz@gmail.com>
To: ell@lists.01.org
Subject: Re: [PATCH] hashmap: Entry pointers were not freed when map was destroyed
Date: Thu, 15 Jan 2015 23:43:21 -0600 [thread overview]
Message-ID: <54B8A4F9.7090500@gmail.com> (raw)
In-Reply-To: <1421153775-30398-1-git-send-email-jukka.rissanen@linux.intel.com>
[-- Attachment #1: Type: text/plain, Size: 469 bytes --]
Hi Jukka,
On 01/13/2015 06:56 AM, Jukka Rissanen wrote:
> The l_hashmap_destroy() did not free the left over entry pointers
> that were allocated in l_hashmap_insert(). If user did not remove
> them by calling the l_hashmap_remove(), then the entries were left
> in the hash which caused a memory leak.
> ---
> ell/hashmap.c | 11 ++++++++---
> 1 file changed, 8 insertions(+), 3 deletions(-)
>
Patch has been applied, thanks.
Regards,
-Denis
prev parent reply other threads:[~2015-01-16 5:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-13 12:56 [PATCH] hashmap: Entry pointers were not freed when map was destroyed Jukka Rissanen
2015-01-16 5:43 ` Denis Kenzior [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=54B8A4F9.7090500@gmail.com \
--to=denkenz@gmail.com \
--cc=ell@lists.01.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.