summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/btrfs/reada.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/btrfs/reada.c b/fs/btrfs/reada.c
index cd85711..35eaf68 100644
--- a/fs/btrfs/reada.c
+++ b/fs/btrfs/reada.c
@@ -423,6 +423,7 @@ again:
}
spin_unlock(&fs_info->reada_lock);
+ kfree(multi);
return re;
error:
@@ -447,6 +448,7 @@ error:
kref_put(&zone->refcnt, reada_zone_release);
spin_unlock(&fs_info->reada_lock);
}
+ kfree(multi);
kfree(re);
if (looped)
goto again;
OpenPOWER on IntegriCloud