Re: [RFC][PATCH] inotify 0.9.2

From: Robert Love
Date: Tue Sep 21 2004 - 16:01:23 EST


On Tue, 2004-09-21 at 14:56 -0400, Robert Love wrote:

> I then went ahead and just made dev->bitmask an array, since we know the
> size at compile time.

Forgot to remove the kfree() there, which I did not hit in testing until
now.

This patch applies on top of the previous.

Robert Love


Signed-Off-By: Robert "Cheese Taste Good" Love <rml@xxxxxxxxxx>

drivers/char/inotify.c | 1 -
1 files changed, 1 deletion(-)

--- linux-inotify-rml/drivers/char/inotify.c.orig 2004-09-21 16:50:00.643770936 -0400
+++ linux-inotify-rml/drivers/char/inotify.c 2004-09-21 16:50:45.118009824 -0400
@@ -711,7 +711,6 @@

inotify_release_all_events(dev);

- kfree (dev->bitmask);
kfree (dev);

}


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/