commit | 2c5816b4beccc8ba709144539f6fdd764f8fa49c | [log] [tgz] |
---|---|---|
author | Miklos Szeredi <miklos@szeredi.hu> | Tue Nov 10 10:32:36 2015 +0100 |
committer | Miklos Szeredi <miklos@szeredi.hu> | Tue Nov 10 10:32:36 2015 +0100 |
tree | b75771d8f86aa341ebdb6af7944380eadf3b6973 | |
parent | 6a13feb9c82803e2b815eca72fa7a9f5561d7861 [diff] |
cuse: fix memory leak The problem is that fuse_dev_alloc() acquires an extra reference to cc.fc, and the original ref count is never dropped. Reported-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Miklos Szeredi <miklos@szeredi.hu> Fixes: cc080e9e9be1 ("fuse: introduce per-instance fuse_dev structure") Cc: <stable@vger.kernel.org> # v4.2+