|
@@ -796,6 +796,7 @@ static void vmbus_onoffer(struct vmbus_channel_message_header *hdr)
|
|
/* Allocate the channel object and save this offer. */
|
|
/* Allocate the channel object and save this offer. */
|
|
newchannel = alloc_channel();
|
|
newchannel = alloc_channel();
|
|
if (!newchannel) {
|
|
if (!newchannel) {
|
|
|
|
+ vmbus_release_relid(offer->child_relid);
|
|
pr_err("Unable to allocate channel object\n");
|
|
pr_err("Unable to allocate channel object\n");
|
|
return;
|
|
return;
|
|
}
|
|
}
|