Holger Freyther has submitted this change and it was merged. ( 
https://gerrit.osmocom.org/13798 )

Change subject: lua: Add a sentinel for the fd function table
......................................................................

lua: Add a sentinel for the fd function table

Change-Id: I4fe2fd6584a453a951361e1b67fb986583b176be
---
M src/host/layer23/src/mobile/script_lua.c
1 file changed, 1 insertion(+), 0 deletions(-)

Approvals:
  Jenkins Builder: Verified
  Vadim Yanitskiy: Looks good to me, approved



diff --git a/src/host/layer23/src/mobile/script_lua.c 
b/src/host/layer23/src/mobile/script_lua.c
index 9117cdd..2979e7c 100644
--- a/src/host/layer23/src/mobile/script_lua.c
+++ b/src/host/layer23/src/mobile/script_lua.c
@@ -544,6 +544,7 @@
 static const struct luaL_Reg fd_funcs[] = {
        { "unregister", lua_fd_unregister },
        { "__gc", lua_fd_unregister },
+       { NULL, NULL },
 };

 static const struct luaL_Reg ms_funcs[] = {

--
To view, visit https://gerrit.osmocom.org/13798
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I4fe2fd6584a453a951361e1b67fb986583b176be
Gerrit-Change-Number: 13798
Gerrit-PatchSet: 1
Gerrit-Owner: Holger Freyther <[email protected]>
Gerrit-Reviewer: Holger Freyther <[email protected]>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Vadim Yanitskiy <[email protected]>

Reply via email to