lkml.org 
[lkml]   [2012]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectquestion on devm_kfree
As per comments related to devm_kzalloc, memory allocated using it is freed automatically.
However there is a function called devm_kfree, comment section of which says that it is used to free memory allocated using devm_kzalloc().
If memory allocated by devm_kzalloc is freed automatically, what's the need & significance of devm_kfree?

Thanks,
Venu



\
 
 \ /
  Last update: 2012-08-08 08:41    [W:0.050 / U:20.912 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site