diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-03-09 17:52:17 +0300 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2011-03-09 17:52:17 +0300 |
commit | aa959154787b080cdfa5efe09e5c927381d095a2 (patch) | |
tree | 741fdd1cafee03fa86663a52765901c9bbd62a8b /src/lua | |
parent | 1dcb152734a13419f8641d38c98fb4b138ac90fd (diff) | |
download | rspamd-aa959154787b080cdfa5efe09e5c927381d095a2.tar.gz rspamd-aa959154787b080cdfa5efe09e5c927381d095a2.zip |
Fix initialization point.
Diffstat (limited to 'src/lua')
-rw-r--r-- | src/lua/lua_cdb.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lua/lua_cdb.c b/src/lua/lua_cdb.c index 61bcf1df4..24f6b205f 100644 --- a/src/lua/lua_cdb.c +++ b/src/lua/lua_cdb.c @@ -72,6 +72,8 @@ lua_cdb_create (lua_State *L) else { cdb = g_malloc (sizeof (struct cdb)); cdb->filename = g_strdup (filename); + cdb->check_timer_ev = NULL; + cdb->check_timer_tv = NULL; if (cdb_init (cdb, fd) == -1) { msg_warn ("cannot open cdb: %s, %s", filename, strerror (errno)); lua_pushnil (L); |