lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Fri, 26 Feb 2010 15:16:47 +0300
From:	Dan Carpenter <error27@...il.com>
To:	naveen yadav <yad.naveen@...il.com>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: memory leak in case of Kernel module

On Fri, Feb 26, 2010 at 04:14:22PM +0530, naveen yadav wrote:
> Hi all,
> 
> I need small clarification, If I have a kernel module and in init I
> create some memory using vmalloc. and i do not free it. I exit from
> the module.
> 
> what happen to this allocated memory. Will kernel handle it and do free.
> 

No.  You need to free your memory explicitly.

regards,
dan carpenter

> 
> Regards
> Naveen
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@...r.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ