diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-08-11 15:05:19 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-08-11 15:05:19 +0100 |
commit | 2ac98f03beac0facc269cee548de60283a569666 (patch) | |
tree | e0abd7d02be708c6b7651e321629a37ae95ba714 /src/libutil/util.h | |
parent | ecc87faed1df3fa5033f055c9b7d4cc33a6a0cbf (diff) | |
download | rspamd-2ac98f03beac0facc269cee548de60283a569666.tar.gz rspamd-2ac98f03beac0facc269cee548de60283a569666.zip |
Add soft GString destructor.
Diffstat (limited to 'src/libutil/util.h')
-rw-r--r-- | src/libutil/util.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libutil/util.h b/src/libutil/util.h index ee7bf01f8..0903c23e5 100644 --- a/src/libutil/util.h +++ b/src/libutil/util.h @@ -375,6 +375,12 @@ void rspamd_array_free_hard (gpointer p); void rspamd_gstring_free_hard (gpointer p); /** + * Special utility to help GString freeing (without freeing the memory segment) in rspamd_mempool + * @param p + */ +void rspamd_gstring_free_soft (gpointer p); + +/** * Initialize rspamd libraries */ void rspamd_init_libs (void); |