kore

An easy to use, scalable and secure web application framework for writing web APIs in C.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit c9f39c9c9dacbcb16ac4405f3fce579001e9855b
parent fbfabf6f04fe8125c256c401048f39f05902e21a
Author: Joris Vink <joris@coders.se>
Date:   Tue, 22 Jul 2014 10:47:12 +0200

Set module->ocb to NULL

Diffstat:
src/module.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/module.c b/src/module.c @@ -45,6 +45,7 @@ kore_module_load(char *path, char *onload) module->path = kore_strdup(path); module->mtime = st.st_mtime; module->onload = NULL; + module->ocb = NULL; module->handle = dlopen(module->path, RTLD_NOW | RTLD_GLOBAL); if (module->handle == NULL)