Re: ISDN-Gigaset: Release memory in gigaset_initcs() after an allocation failure

From: SF Markus Elfring
Date: Tue Sep 27 2016 - 01:21:15 EST


>> Memory was not released (as it would be expected) when one call
>> of further resource reservations failed.
>
> This was the only thing in this series that triggered more than a,
> very uninspired, "meh" on first read.

Will it matter here if the function "kfree" will be called for the
data structure members "bcs" and "inbuf" after a later function call
failed within the implementation of "gigaset_initcs"?

Regards,
Markus