diff options
Diffstat (limited to 'src/controller.c')
-rw-r--r-- | src/controller.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/controller.c b/src/controller.c index 9d39627dc..9e015cb6d 100644 --- a/src/controller.c +++ b/src/controller.c @@ -3203,6 +3203,7 @@ rspamd_controller_store_saved_stats (struct rspamd_controller_worker_ctx *ctx) ucl_object_emit_full (top, UCL_EMIT_JSON_COMPACT, ucl_object_emit_fd_funcs (fd), NULL); + ucl_object_unref (top); rspamd_file_unlock (fd, FALSE); close (fd); } |