summaryrefslogtreecommitdiffhomepage
path: root/handler.c
AgeCommit message (Collapse)Author
2018-04-12handler: fix resource leak on error in netifd_init_script_handlers()Hans Dedecker
Detected by Coverity in CID 1412486 Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2017-12-10handler: replace is_error() helper with NULL checkAlexandru Ardelean
The `is_error()` is just a macro that checks that object is NULL (which is considered an error in libjson-c terminology). Newer libjson-c versions have deprecated this. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
2016-02-01handler: Fix memory leakHans Dedecker
Call globfree to free dynamically allocated storage from a previous glob call Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
2014-02-17make netifd_handler_parse_config honour the luci validation passed from the ↵John Crispin
backend scripts Signed-off-by: John Crispin <blogic@openwrt.org>
2014-02-16Work around warn_unused_result in recent gcc/libcSteven Barth
2013-10-22utils: add a function for checking if a process given by pid is still aliveFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-10-22proto-shell: move more core to handler.cFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-10-22proto-shell: move script handler config parse code to handler.cFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-10-22proto-shell: move script handler dump code to handler.cFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>