diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2012-02-13 21:51:10 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2012-02-13 21:51:10 +0400 |
commit | a5b48a05a94d178c342bbad69a330addb518d148 (patch) | |
tree | ee7ab452cd4a98fdb7503e78cc52a3d4f66dd27e /src/smtp_utils.c | |
parent | 0d64c808b7310b6e233ec570649fbb281a3f2b13 (diff) | |
download | rspamd-a5b48a05a94d178c342bbad69a330addb518d148.tar.gz rspamd-a5b48a05a94d178c342bbad69a330addb518d148.zip |
* More things to be thread-safe:
- pool allocator is now thread-safe
- lua subsystem now holds lock to avoid lua stack corruption
- events subsystem now using conditional variables to wait for async_threads
- insert_result is thread-safe now
Diffstat (limited to 'src/smtp_utils.c')
-rw-r--r-- | src/smtp_utils.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/smtp_utils.c b/src/smtp_utils.c index 3a9d62cbb..8ceaef5a6 100644 --- a/src/smtp_utils.c +++ b/src/smtp_utils.c @@ -28,7 +28,7 @@ #include "smtp.h" #include "smtp_proto.h" -void +gboolean free_smtp_session (gpointer arg) { struct smtp_session *session = arg; @@ -56,6 +56,8 @@ free_smtp_session (gpointer arg) memory_pool_delete (session->pool); g_free (session); } + + return TRUE; } gboolean |