From: Cyril Hrubis <chrubis@suse.cz>
To: Manjeet Pawar <manjeet.p@samsung.com>
Cc: "ajeet.y@samsung.com" <ajeet.y@samsung.com>,
"ltp-list@lists.sourceforge.net" <ltp-list@lists.sourceforge.net>,
Yogesh Narayan Gaur <yn.gaur@samsung.com>
Subject: Re: [LTP] [PATCH]: Fix memory leak by freeing buf
Date: Mon, 1 Jun 2015 16:49:51 +0200 [thread overview]
Message-ID: <20150601144951.GC12369@rei.suse.de> (raw)
In-Reply-To: <388214473.190591432788271460.JavaMail.weblogic@epmlwas05c>
Hi!
Looking at the code, ltp-pan exits if this function fails, so the danger
of memory leak was not real here.
But it's better to fix the function, pushed, thanks.
--
Cyril Hrubis
chrubis@suse.cz
------------------------------------------------------------------------------
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
next prev parent reply other threads:[~2015-06-01 14:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-28 4:44 [LTP] [PATCH]: Fix memory leak by freeing buf Manjeet Pawar
2015-06-01 14:49 ` Cyril Hrubis [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-06-19 11:25 Manjeet Pawar
2015-06-19 12:09 ` Alexey Kodanev
2015-06-19 12:20 ` Alexey Kodanev
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=20150601144951.GC12369@rei.suse.de \
--to=chrubis@suse.cz \
--cc=ajeet.y@samsung.com \
--cc=ltp-list@lists.sourceforge.net \
--cc=manjeet.p@samsung.com \
--cc=yn.gaur@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.