lkml.org 
[lkml]   [2016]   [Sep]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [Gigaset307x-common] ISDN-Gigaset: Release memory in gigaset_initcs() after an allocation failure
From
Date
>> I got the impression that the exception handling  was incomplete in the
>> implementation of the function "gigaset_initcs".
>
> That impression is wrong. Careful reading of the code will confirm that.

* Is it still correct nowadays that the function "gigaset_initcs" did not
call the function "kfree" after a later function call failed?

* Do you expect that allocated memory will be automatically reclaimed
after it would return a null pointer?

Regards,
Markus

\
 
 \ /
  Last update: 2016-09-27 13:33    [W:0.566 / U:0.512 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site