From: Paul Bolle Date: Tue, 27 Sep 2016 08:48:41 +0000 Subject: Re: ISDN-Gigaset: Release memory in gigaset_initcs() after an allocation failure Message-Id: <1474966121.9970.5.camel@tiscali.nl> List-Id: References: <566ABCD9.1060404@users.sourceforge.net> <6d4bbb77-914f-19b8-a1a9-2731d1158612@users.sourceforge.net> <6409b3b0-3b7a-1139-f040-7b1a61611187@users.sourceforge.net> <1474924434.8546.29.camel@tiscali.nl> <0d02085e-842c-4be9-f706-c43b38ce9095@users.sourceforge.net> In-Reply-To: <0d02085e-842c-4be9-f706-c43b38ce9095@users.sourceforge.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: SF Markus Elfring Cc: gigaset307x-common@lists.sourceforge.net, netdev@vger.kernel.org, Karsten Keil , LKML , kernel-janitors@vger.kernel.org, Julia Lawall On Tue, 2016-09-27 at 07:20 +0200, SF Markus Elfring wrote: > 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"? My translation of this question is: could you please hold my hand while I read the code of a driver I do not use - a driver for hardware that I don't even have, and therefor cannot really test - after I submitted a patch that appears to be broken? My answer to that question is: no, sorry, I won't do that. Paul Bolle