forked from mirrors/kore
indent
This commit is contained in:
parent
0f28b4a62d
commit
b4c54f9dc0
|
@ -138,7 +138,8 @@ kore_module_handler_new(char *path, char *domain, char *func, int type)
|
||||||
hdlr->func = kore_strdup(func);
|
hdlr->func = kore_strdup(func);
|
||||||
|
|
||||||
if (hdlr->type == HANDLER_TYPE_DYNAMIC) {
|
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->func);
|
||||||
kore_mem_free(hdlr->path);
|
kore_mem_free(hdlr->path);
|
||||||
kore_mem_free(hdlr);
|
kore_mem_free(hdlr);
|
||||||
|
|
Loading…
Reference in New Issue