rdma: fix memory leak
authorGonglei <arei.gonglei@huawei.com>
Tue, 23 Jun 2015 07:56:38 +0000 (15:56 +0800)
committerJuan Quintela <quintela@redhat.com>
Tue, 7 Jul 2015 12:54:46 +0000 (14:54 +0200)
commit728470bea15b11ba7b3e3db54f0d9939908e0e65
tree940a17829d596878afdf20f4ed51125cbe4f2c65
parent1452673888f6d7f0454276d049846c9bec659233
rdma: fix memory leak

Variable "r" going out of scope leaks the storage
it points to in line 3268.

Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Reviewed-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
migration/rdma.c