All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vinicius Costa Gomes <vinicius.gomes@intel.com>
To: Anchit Narang <anchit.n@samsung.com>, linux-bluetooth@vger.kernel.org
Cc: sachin.dev@samsung.com, anupam.r@smsung.com
Subject: Re: [PATCH] android/tester-main.c:Fixed Memory leak
Date: Fri, 24 Jul 2015 13:46:06 -0300	[thread overview]
Message-ID: <87y4i54i7l.fsf@intel.com> (raw)
In-Reply-To: <1437539243-20709-1-git-send-email-anchit.n@samsung.com>

Hi,

Anchit Narang <anchit.n@samsung.com> writes:

> This patch fixes memory leak issues in various functions
> by allocating memory to  structure step only after intial
> checks are performed as control was returning from these
> checks without freeing memory allocated to it.
> ---
>  android/tester-main.c |   36 +++++++++++++++++++++++++++---------
>  1 file changed, 27 insertions(+), 9 deletions(-)
>

Patch looks good.


Cheers,
--
Vinicius

  reply	other threads:[~2015-07-24 16:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-22  4:27 [PATCH] android/tester-main.c:Fixed Memory leak Anchit Narang
2015-07-24 16:46 ` Vinicius Costa Gomes [this message]
2015-07-27  7:21 ` Johan Hedberg
  -- strict thread matches above, loose matches on Subject: below --
2015-07-21 12:14 Anchit Narang
2015-07-21 12:25 ` Szymon Janc
2015-06-23  9:24 [PATCH] android/tester-main.c : Fixed " Anchit Narang

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=87y4i54i7l.fsf@intel.com \
    --to=vinicius.gomes@intel.com \
    --cc=anchit.n@samsung.com \
    --cc=anupam.r@smsung.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=sachin.dev@samsung.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 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.