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
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