* Re: [PATCH -next] s390/zcrypt: fix possible memory leak in ap_module_init()
[not found] <1469722402-14588-1-git-send-email-weiyj.lk@gmail.com>
@ 2016-07-31 12:09 ` Martin Schwidefsky
0 siblings, 0 replies; only message in thread
From: Martin Schwidefsky @ 2016-07-31 12:09 UTC (permalink / raw)
To: linux-s390
On Thu, 28 Jul 2016 16:13:22 +0000
Wei Yongjun <weiyj.lk@gmail.com> wrote:
> ap_configuration is malloced in ap_module_init() and should be freed
> before leaving from the error handling cases, otherwise it may cause
> memory leak.
>
> Signed-off-by: Wei Yongjun <weiyj.lk@gmail.com>
Nice catch, applied.
--
blue skies,
Martin.
"Reality continues to ruin my life." - Calvin.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-07-31 12:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1469722402-14588-1-git-send-email-weiyj.lk@gmail.com>
2016-07-31 12:09 ` [PATCH -next] s390/zcrypt: fix possible memory leak in ap_module_init() Martin Schwidefsky
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).