OCaml 4.14.0 rebuild
[arch-packages.git] / grilo-plugins / trunk / 0001-grl-lua-factory-Remove-a-bad-pop.patch
blob8cf206db90f4e5760ae6911056062c92a79775f8
1 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2 From: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com>
3 Date: Sun, 4 Apr 2021 18:30:57 +0000
4 Subject: [PATCH] grl-lua-factory: Remove a bad pop
6 This was exposed by Lua 5.4.3, causing a crash.
7 ---
8 src/lua-factory/grl-lua-factory.c | 2 --
9 1 file changed, 2 deletions(-)
11 diff --git a/src/lua-factory/grl-lua-factory.c b/src/lua-factory/grl-lua-factory.c
12 index 4f379841..3a3b8248 100644
13 --- a/src/lua-factory/grl-lua-factory.c
14 +++ b/src/lua-factory/grl-lua-factory.c
15 @@ -1255,8 +1255,6 @@ table_to_tags (lua_State *L)
16 lua_pop (L, 1);
19 - lua_pop (L, 1);
21 if (array->len == 0) {
22 g_ptr_array_free (array, TRUE);
23 return NULL;