[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ea11fea30807111153s38fc01e2w291e120da947a873@mail.gmail.com>
Date: Sat, 12 Jul 2008 00:23:43 +0530
From: "Manish Katiyar" <mkatiyar@...il.com>
To: "Theodore Tso" <tytso@....edu>, linux-ext4@...r.kernel.org
Subject: Re: [PATCH] e2fsprogs : Fix memory leak in ext2fs_initialize.
On Sat, Jul 12, 2008 at 12:11 AM, Theodore Tso <tytso@....edu> wrote:
> On Fri, Jul 11, 2008 at 04:02:06PM +0530, Manish Katiyar wrote:
>> + if (buf) {
>> + ext2fs_free_mem(&buf);
>> + }
>
> I'll fix this up and apply, but in the future, please respect the
> surrounding whitespace rules of the source code. For e2fsprogs that
> means (among other things) each level is indented 8 spaces, no curly
> braces are needed for single statements, and no white space at the end
> of lines.
Thanks a lot Ted,
I will keep that in mind in future. I am not sure from where did
those white spaces came, I don't have them in my git log.....and curly
braces for single statements were because I copied the style from
below line in ext2fs_free() .... perhaps a bad example which I chose
to follow :-(
if (fs->io) {
io_channel_close(fs->io);
}
Thanks -
>
> Thanks,
>
> - Ted
>
--
Thanks & Regards,
********************************************
Manish Katiyar ( http://mkatiyar.googlepages.com )
3rd Floor, Fair Winds Block
EGL Software Park
Off Intermediate Ring Road
Bangalore 560071, India
***********************************************
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists