diff
50 	ret = qca_tlv_check_data(hdev, config, data, size, soc_type);
51 	if (ret) {
+52 		vfree(data);
53 		return ret;
54 	}
