From: Eric Paris Date: Wed, 24 Nov 2010 04:48:26 +0000 (-0500) Subject: fanotify: do not leak user reference on allocation failure X-Git-Tag: v2.6.37-rc7~24^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26379198937fcc9bbe7be76be695d06df8334eaa;p=pandora-kernel.git fanotify: do not leak user reference on allocation failure If fanotify_init is unable to allocate a new fsnotify group it will return but will not drop its reference on the associated user struct. Drop that reference on error. Reported-by: Vegard Nossum Signed-off-by: Eric Paris --- Reading git-diff-tree failed