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

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

From: SF Markus Elfring <hidden>
Date: 2016-09-27 05:21:04
Also in: kernel-janitors, lkml

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