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>] [day] [month] [year] [list]
Date:	Sat, 14 Jul 2012 13:47:50 +0545
From:	"devendra.aaru" <devendra.aaru@...il.com>
To:	linux-kernel@...r.kernel.org
Subject: Q: free up of memory allocated with the devm_kzalloc if driver probe fails

Hi,


     manual page of devm_kzalloc says that "the memory allocated with
this function is freed automatically at driver detach".
     Say for example driver probe failed, will the memory be freed up?
as driver's remove callback will not be called since probe failed.

Thanks,
Devendra
--
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