diff options
Diffstat (limited to 'src/rspamadm')
-rw-r--r-- | src/rspamadm/control.c | 1 | ||||
-rw-r--r-- | src/rspamadm/corpus_test.c | 1 | ||||
-rw-r--r-- | src/rspamadm/fuzzy_convert.c | 1 | ||||
-rw-r--r-- | src/rspamadm/grep.c | 1 | ||||
-rw-r--r-- | src/rspamadm/lua_repl.c | 1 | ||||
-rw-r--r-- | src/rspamadm/rspamadm.c | 1 | ||||
-rw-r--r-- | src/rspamadm/stat_convert.c | 1 |
7 files changed, 0 insertions, 7 deletions
diff --git a/src/rspamadm/control.c b/src/rspamadm/control.c index 35b5415e7..4d7806b84 100644 --- a/src/rspamadm/control.c +++ b/src/rspamadm/control.c @@ -262,6 +262,5 @@ rspamadm_control (gint argc, gchar **argv, const struct rspamadm_command *_cmd) rspamd_http_connection_unref (conn); rspamd_inet_address_free (addr); - lua_close (L); close (sock); } diff --git a/src/rspamadm/corpus_test.c b/src/rspamadm/corpus_test.c index 305c3a8ad..abf7135b7 100644 --- a/src/rspamadm/corpus_test.c +++ b/src/rspamadm/corpus_test.c @@ -122,6 +122,5 @@ rspamadm_corpus_test (gint argc, gchar **argv, const struct rspamadm_command *cm obj, "corpus_test"); - lua_close (L); ucl_object_unref (obj); } diff --git a/src/rspamadm/fuzzy_convert.c b/src/rspamadm/fuzzy_convert.c index ebf60bd24..7671678dc 100644 --- a/src/rspamadm/fuzzy_convert.c +++ b/src/rspamadm/fuzzy_convert.c @@ -137,6 +137,5 @@ rspamadm_fuzzyconvert (gint argc, gchar **argv, const struct rspamadm_command *c obj, "fuzzy_convert"); - lua_close (L); ucl_object_unref (obj); } diff --git a/src/rspamadm/grep.c b/src/rspamadm/grep.c index 60189f39c..08ea1c40b 100644 --- a/src/rspamadm/grep.c +++ b/src/rspamadm/grep.c @@ -153,6 +153,5 @@ rspamadm_grep (gint argc, gchar **argv, const struct rspamadm_command *cmd) obj, "grep"); - lua_close (L); ucl_object_unref (obj); } diff --git a/src/rspamadm/lua_repl.c b/src/rspamadm/lua_repl.c index 4ec934b91..e2f3a8581 100644 --- a/src/rspamadm/lua_repl.c +++ b/src/rspamadm/lua_repl.c @@ -666,7 +666,6 @@ rspamadm_lua (gint argc, gchar **argv, const struct rspamadm_command *cmd) GError *error = NULL; gchar **elt; guint i; - lua_State *L; context = g_option_context_new ("lua - run lua interpreter"); g_option_context_set_summary (context, diff --git a/src/rspamadm/rspamadm.c b/src/rspamadm/rspamadm.c index 0ec4ba403..e20f9ee83 100644 --- a/src/rspamadm/rspamadm.c +++ b/src/rspamadm/rspamadm.c @@ -407,7 +407,6 @@ main (gint argc, gchar **argv, gchar **env) rspamd_log_close (rspamd_main->logger); REF_RELEASE (rspamd_main->cfg); - lua_close (L); g_free (rspamd_main); g_ptr_array_free (all_commands, TRUE); diff --git a/src/rspamadm/stat_convert.c b/src/rspamadm/stat_convert.c index 68723c40f..ef17194b0 100644 --- a/src/rspamadm/stat_convert.c +++ b/src/rspamadm/stat_convert.c @@ -253,6 +253,5 @@ rspamadm_statconvert (gint argc, gchar **argv, const struct rspamadm_command *cm obj, "stat_convert"); - lua_close (L); ucl_object_unref (obj); } |