diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-10-29 12:25:45 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-10-29 12:25:45 +0000 |
commit | 4beb2f2970d709169db316483a6bc547fdcaba8d (patch) | |
tree | 66c3f0e934b8eb4905e408356167bec326ebfa8e /src/libutil/fstring.h | |
parent | a47922458216ce76eb5c591096cb8d4bd41f03c3 (diff) | |
download | rspamd-4beb2f2970d709169db316483a6bc547fdcaba8d.tar.gz rspamd-4beb2f2970d709169db316483a6bc547fdcaba8d.zip |
[Minor] Final stage of g_slice removal
Diffstat (limited to 'src/libutil/fstring.h')
-rw-r--r-- | src/libutil/fstring.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libutil/fstring.h b/src/libutil/fstring.h index 1d1d3b137..e83c44a1c 100644 --- a/src/libutil/fstring.h +++ b/src/libutil/fstring.h @@ -137,12 +137,12 @@ gboolean rspamd_ftok_cstr_equal (const rspamd_ftok_t *s, * | len | allocated | <data> -- fstring_t * <begin> -- tok * - * tok is expected to be allocated with g_slice_alloc + * tok is expected to be allocated with g_malloc */ void rspamd_fstring_mapped_ftok_free (gpointer p); /** - * Map token to a specified string. Token must be freed using g_slice_free1 + * Map token to a specified string. Token must be freed using g_free */ rspamd_ftok_t *rspamd_ftok_map (const rspamd_fstring_t *s); |