lua: Fix stack imbalance in ubus_event_handler
authorHans Dedecker <dedeckeh@gmail.com>
Mon, 2 Nov 2015 10:16:10 +0000 (11:16 +0100)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 2 Nov 2015 18:02:35 +0000 (19:02 +0100)
commitd23b07a9ff999275c09957cb385e10cb729abd17
tree20e5e35135b26533c40c35da0fe3197f7d89b489
parent33b2abf6310abbadc541a0e1913080e048174324
lua: Fix stack imbalance in ubus_event_handler

The value from getglobal wasn't being removed from the stack,
resulting in an ever growing stack in the ubus event handler.

Signed-off-by: Karl Vogel <karl.vogel@gmail.com>
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
lua/ubus.c