[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <baa46a3d-1f73-2f7e-6402-98763b159739@linux-pingi.de>
Date: Tue, 27 Sep 2016 14:16:42 +0200
From: isdn@...ux-pingi.de
To: SF Markus Elfring <elfring@...rs.sourceforge.net>,
Tilman Schmidt <tilman@...p.cc>
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
Am 27.09.2016 um 13:32 schrieb SF Markus Elfring:
>>> I got the impression that the exception handling was incomplete in the
>>> implementation of the function "gigaset_initcs".
>>
>> That impression is wrong. Careful reading of the code will confirm that.
>
> * 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.
> * Do you expect that allocated memory will be automatically reclaimed
> after it would return a null pointer?
>
Of course not
Best regards
Karsten
Powered by blists - more mailing lists