[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <02ad1fea-33f6-a38a-fd91-16bc0c351bdd@users.sourceforge.net>
Date: Tue, 27 Sep 2016 14:52:48 +0200
From: SF Markus Elfring <elfring@...rs.sourceforge.net>
To: Karsten Keil <isdn@...ux-pingi.de>
Cc: Tilman Schmidt <tilman@...p.cc>, Paul Bolle <pebolle@...cali.nl>,
gigaset307x-common@...ts.sourceforge.net, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org,
LKML <linux-kernel@...r.kernel.org>,
Julia Lawall <julia.lawall@...6.fr>
Subject: Re: [Gigaset307x-common] ISDN-Gigaset: Release memory in
gigaset_initcs() after an allocation failure
>> * 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?
>> * 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
Powered by blists - more mailing lists