Re: [PATCH] fs/jffs2: Add missing call to posix_acl_release

2008-01-07 Thread KaiGai Kohei
Julia Lawall wrote: From: Julia Lawall <[EMAIL PROTECTED]> posix_acl_clone does a memory allocation and sets a reference count, so posix_acl_release is needed afterwards to free it. The problem was fixed using the following semantic patch. (http://www.emn.fr/x-info/coccinelle/) // @@ type

Re: [PATCH] fs/jffs2: Add missing call to posix_acl_release

2008-01-07 Thread KaiGai Kohei
Julia Lawall wrote: From: Julia Lawall [EMAIL PROTECTED] posix_acl_clone does a memory allocation and sets a reference count, so posix_acl_release is needed afterwards to free it. The problem was fixed using the following semantic patch. (http://www.emn.fr/x-info/coccinelle/) // smpl @@ type

[PATCH] fs/jffs2: Add missing call to posix_acl_release

2008-01-06 Thread Julia Lawall
From: Julia Lawall <[EMAIL PROTECTED]> posix_acl_clone does a memory allocation and sets a reference count, so posix_acl_release is needed afterwards to free it. The problem was fixed using the following semantic patch. (http://www.emn.fr/x-info/coccinelle/) // @@ type T; identifier E;

[PATCH] fs/jffs2: Add missing call to posix_acl_release

2008-01-06 Thread Julia Lawall
From: Julia Lawall [EMAIL PROTECTED] posix_acl_clone does a memory allocation and sets a reference count, so posix_acl_release is needed afterwards to free it. The problem was fixed using the following semantic patch. (http://www.emn.fr/x-info/coccinelle/) // smpl @@ type T; identifier E;