storage/btrfs: add missing return

Fixes: Coverity 1461749 Signed-off-by: 's avatarChristian Brauner <christian.brauner@ubuntu.com>
parent 25619b99
......@@ -824,6 +824,7 @@ static int btrfs_lxc_rm_rf(const char *path)
ERROR("Out of memory");
free_btrfs_tree(tree);
close(fd);
return -ENOMEM;
}
memcpy(name, tmp, name_len);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment