Set module->ocb to NULL

This commit is contained in:
Joris Vink 2014-07-22 10:47:12 +02:00
parent fbfabf6f04
commit c9f39c9c9d
1 changed files with 1 additions and 0 deletions

View File

@ -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)