Fix (possible) doublefree
Fix (possible) doublefree

Change-Id: I97d62ee2758cba3e8721599cda42fc7c9b92f696
Reviewed-on: http://review.northscale.com/1699
Reviewed-by: Steve Yen <ef850f73f7832052d3c6d9b5ddd3a1716d9a57f1@gmail.com>
Tested-by: Steve Yen <ef850f73f7832052d3c6d9b5ddd3a1716d9a57f1@gmail.com>

membase/vbucketmigrator,zbase/vbucketmigrator,zbase/vbucketmigrator,zbase/vbucketmigrator,zbase/vbucketmigrator,membase/vbucketmigrator,membase/vbucketmigrator,membase/vbucketmigrator