8b99c3ccf7
In inotify_ignored_and_remove_idr() the removal of a watch descriptor is skipped if the allocation of an ignored event failed and we are leaking memory (the watch descriptor and the mark linked to it). This patch ensures that the watch descriptor is removed regardless of whether event creation failed or not. Signed-off-by: Lino Sanfilippo <LinoSanfilippo@gmx.de> Signed-off-by: Eric Paris <eparis@redhat.com> |
||
---|---|---|
.. | ||
inotify.h | ||
inotify_fsnotify.c | ||
inotify_user.c | ||
Kconfig | ||
Makefile |