[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140715064125.GQ25880@mwanda>
Date: Tue, 15 Jul 2014 09:41:25 +0300
From: Dan Carpenter <dan.carpenter@...cle.com>
To: Daeseok Youn <daeseok.youn@...il.com>
Cc: lidza.louina@...il.com, devel@...verdev.osuosl.org,
gregkh@...uxfoundation.org, driverdev-devel@...uxdriverproject.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 7/8] staging: dgap: introduce dgap_cleanup_nodes()
On Tue, Jul 15, 2014 at 12:04:02PM +0900, Daeseok Youn wrote:
> When a configration file is parsed with dgap_parsefile(),
> makes nodes for saving configrations for board.
>
> Making a node will allocate node memory and strings for saving
> configrations with kstrdup().
>
> So these are freed when dgap is unloaded or failed to initialize.
>
> Signed-off-by: Daeseok Youn <daeseok.youn@...il.com>
> ---
> It MUST be needed to prevent memory leaks but
> I'm not sure that I fix properly.
>
> Please review.
This thread doesn't have Mark on the CC list and he's the only person
who can actually test it properly. Resend it and CC Mark
Hounschell <markh@...pro.net>.
regards,
dan carpenter
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists