From 2c385b81f8a910cabc069b55ad06d3a9730310b9 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sat, 10 Oct 2015 18:39:43 -0600 Subject: [PATCH] TMPFS: Yet another memory leak --- fs/tmpfs/fs_tmpfs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/tmpfs/fs_tmpfs.c b/fs/tmpfs/fs_tmpfs.c index f1b62e6976..947ea028f2 100644 --- a/fs/tmpfs/fs_tmpfs.c +++ b/fs/tmpfs/fs_tmpfs.c @@ -2437,6 +2437,7 @@ errout_with_newparent: errout_with_lock: tmpfs_unlock(fs); + kmm_free(copy); return ret; }