diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-05-18 16:54:29 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-05-18 16:54:29 +0100 |
commit | 453a65c386075e803ebdddd01f3145a0f221a12a (patch) | |
tree | d7a980ff5cf6d3c220fc238f605dc4c25f1e9218 /src/libutil/util.h | |
parent | a2d8a1a2727274c97a5b5f4bc701ec1d92e7b25f (diff) | |
download | rspamd-453a65c386075e803ebdddd01f3145a0f221a12a.tar.gz rspamd-453a65c386075e803ebdddd01f3145a0f221a12a.zip |
Add helper to use GString in pool destructors.
Diffstat (limited to 'src/libutil/util.h')
-rw-r--r-- | src/libutil/util.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libutil/util.h b/src/libutil/util.h index f3a8dcbc5..af2e00065 100644 --- a/src/libutil/util.h +++ b/src/libutil/util.h @@ -451,6 +451,11 @@ void rspamd_ptr_array_free_hard (gpointer p); * @param p */ void rspamd_array_free_hard (gpointer p); +/** + * Special utility to help GString freeing in rspamd_mempool + * @param p + */ +void rspamd_gstring_free_hard (gpointer p); /** * Initialize rspamd libraries |