aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/fstring.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libutil/fstring.h')
-rw-r--r--src/libutil/fstring.h4
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);