Commit 831773b2 authored by Anil Veerabhadrappa's avatar Anil Veerabhadrappa Committed by Konrad Sztyber
Browse files

nvmf/fc: delegate memory object free to LLD



   'args' object in nvmf_fc_adm_evnt_i_t_delete() is actually allocated in
the FC LLD driver and passed to nvmf/fc in nvmf_fc_main_enqueue_event() call.
So this object should be freed in the LLD's callback function.

Change-Id: I04eb0510ad7dd4bef53fc4e0f299f7226b303748
Signed-off-by: default avatarAnil Veerabhadrappa <anil.veerabhadrappa@broadcom.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/17836


Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
Reviewed-by: default avatarJim Harris <james.r.harris@intel.com>
Reviewed-by: default avatarShuhei Matsumoto <smatsumoto@nvidia.com>
parent abf212ea
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -3663,7 +3663,6 @@ out:
		SPDK_DEBUGLOG(nvmf_fc_adm_api, "%s", log_str);
	}

	free(args);
	free(arg);
}