+2
−1
Loading
Previously, when multiple listeners were used, the Avahi service string list from one listener was appended to subsequent listeners' string lists. This caused unintended service strings to be registered in the service group for each additional listener. This patch corrects the issue by properly initializing the Avahi string list each time it is added to the entry group, ensuring that only the correct service strings are registered. Additionally, this update addresses a memory leak by deallocating the memory used for the Avahi string list after it is no longer needed. Fixes #3407 Change-Id: I4e28dce4464c69e017e6e9b44127b4ab54510da3 Signed-off-by:kyuho.son <kyuho.son@samsung.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/23923 Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by:
Jim Harris <jim.harris@samsung.com>