From 52ca18f49da2feba8cbb4c85f2efa04ccfa1a280 Mon Sep 17 00:00:00 2001 From: Julien Chavanton Date: Wed, 18 Sep 2024 10:39:13 -0400 Subject: [PATCH] fix https://github.com/signalwire/freeswitch/issues/2601 --- src/mod/languages/mod_lua/mod_lua_wrap.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mod/languages/mod_lua/mod_lua_wrap.cpp b/src/mod/languages/mod_lua/mod_lua_wrap.cpp index 93ba825557..2c05264b5d 100644 --- a/src/mod/languages/mod_lua/mod_lua_wrap.cpp +++ b/src/mod/languages/mod_lua/mod_lua_wrap.cpp @@ -10711,6 +10711,9 @@ SWIG_PropagateClientData(void) { if (equiv->type && !equiv->type->clientdata) SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata); } + if (equiv == equiv->next) { + break; + } equiv = equiv->next; } }