commit b4c54f9dc09de4994f0ff856d81425c9daf5ce74
parent 0f28b4a62def5114e0ca17be304f532e2088c08e
Author: Joris Vink <joris@coders.se>
Date: Wed, 11 Dec 2013 19:13:50 +0100
indent
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/module.c b/src/module.c
@@ -138,7 +138,8 @@ kore_module_handler_new(char *path, char *domain, char *func, int type)
hdlr->func = kore_strdup(func);
if (hdlr->type == HANDLER_TYPE_DYNAMIC) {
- if (regcomp(&(hdlr->rctx), hdlr->path, REG_EXTENDED | REG_NOSUB)) {
+ if (regcomp(&(hdlr->rctx), hdlr->path,
+ REG_EXTENDED | REG_NOSUB)) {
kore_mem_free(hdlr->func);
kore_mem_free(hdlr->path);
kore_mem_free(hdlr);