diff options
-rw-r--r-- | fs/btrfs/reada.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/btrfs/reada.c b/fs/btrfs/reada.c index cd857119ba8a..35eaf6893679 100644 --- a/fs/btrfs/reada.c +++ b/fs/btrfs/reada.c | |||
@@ -423,6 +423,7 @@ again: | |||
423 | } | 423 | } |
424 | spin_unlock(&fs_info->reada_lock); | 424 | spin_unlock(&fs_info->reada_lock); |
425 | 425 | ||
426 | kfree(multi); | ||
426 | return re; | 427 | return re; |
427 | 428 | ||
428 | error: | 429 | error: |
@@ -447,6 +448,7 @@ error: | |||
447 | kref_put(&zone->refcnt, reada_zone_release); | 448 | kref_put(&zone->refcnt, reada_zone_release); |
448 | spin_unlock(&fs_info->reada_lock); | 449 | spin_unlock(&fs_info->reada_lock); |
449 | } | 450 | } |
451 | kfree(multi); | ||
450 | kfree(re); | 452 | kfree(re); |
451 | if (looped) | 453 | if (looped) |
452 | goto again; | 454 | goto again; |