Thread (1333 messages) 1333 messages, 109 authors, 2024-01-05

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

From: SF Markus Elfring <hidden>
Date: 2016-09-27 12:53:21
Also in: lkml, netdev

quoted
* Is it still correct nowadays that the function "gigaset_initcs" did not
  call the function "kfree" after a later function call failed?
Yes, if it is handled in another place, Paul already did show you the place.
To which source code place do you refer here?

quoted
* Do you expect that allocated memory will be automatically reclaimed
  after it would return a null pointer?
Of course not
Thanks for this acknowledgement.

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