aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/upstream.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-11-23 12:20:03 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-11-23 12:20:03 +0000
commit88a9da36c51e0e53afffab9eecf94c65066d99e5 (patch)
treeb31087e11e77df345292c14c13a11d294f9353a3 /src/libutil/upstream.c
parent21d5b7bd98961e6d088e2408a5a20c1fe0935671 (diff)
downloadrspamd-88a9da36c51e0e53afffab9eecf94c65066d99e5.tar.gz
rspamd-88a9da36c51e0e53afffab9eecf94c65066d99e5.zip
Fix some memory issues
Diffstat (limited to 'src/libutil/upstream.c')
-rw-r--r--src/libutil/upstream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/upstream.c b/src/libutil/upstream.c
index fd8debfe4..9eecb85cf 100644
--- a/src/libutil/upstream.c
+++ b/src/libutil/upstream.c
@@ -463,7 +463,7 @@ rspamd_upstream_dtor (struct upstream *up)
g_queue_delete_link (up->ctx->upstreams, up->ctx_pos);
REF_RELEASE (up->ctx);
}
- g_list_free (up->ctx_pos);
+
g_slice_free1 (sizeof (*up), up);
}