Thread (45 messages) 45 messages, 10 authors, 2016-09-28

Re: [Gigaset307x-common] ISDN-Gigaset: Release memory in gigaset_initcs() after an allocation failure

From: SF Markus Elfring <hidden>
Date: 2016-09-27 11:33:14
Also in: kernel-janitors, lkml

quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help