This patch  frees tags that are already allocated in case of
failure
Signed-off-by: Jayamohan Kallickal <jayamohank@serverengines.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
                SE_DEBUG(DBG_LVL_1,
                         "Failed to alloc memory for mgmt_invalidate_icds\n");
                spin_unlock(&ctrl->mbox_lock);
+               free_mcc_tag(&phba->ctrl, tag);
                return 0;
        }
        nonemb_cmd.size = sizeof(struct invalidate_commands_params_in);
                shost_printk(KERN_ERR, phba->shost, "unknown addr family %d\n",
                             dst_addr->sa_family);
                spin_unlock(&ctrl->mbox_lock);
+               free_mcc_tag(&phba->ctrl, tag);
                return -EINVAL;
 
        }