btrfs-progs: check allocation result in add_clone_source
authorDavid Sterba <dsterba@suse.cz>
Fri, 19 Dec 2014 15:55:32 +0000 (16:55 +0100)
committerDavid Sterba <dsterba@suse.cz>
Fri, 19 Dec 2014 17:04:25 +0000 (18:04 +0100)
commitc4ca5c5f3f9bc4ccd25c4a640bd7052d8a0c2e67
treef25b8773730241bb89439d929640a8e6e211cdbd
parent34350d11c1bf0723206972175f1f18b7e8840377
btrfs-progs: check allocation result in add_clone_source

Resolves-Coverity-CID: 1054894
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
cmds-send.c