# Re: ISDN-Gigaset: Release memory in gigaset\_initcs() after an allocation failure

- From: SF Markus Elfring \<hidden\>
- Date: 2016-09-27 05:21:04 
- List: netdev
- Page: https://ratatoskr.run/netdev/2016/09/4844320
- Thread: https://ratatoskr.run/netdev/2016/09/4844010/t.md

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