diff options
Diffstat (limited to 'src/libutil/util.c')
-rw-r--r-- | src/libutil/util.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libutil/util.c b/src/libutil/util.c index 02f1721ff..6e7acdf55 100644 --- a/src/libutil/util.c +++ b/src/libutil/util.c @@ -1871,6 +1871,13 @@ rspamd_gstring_free_hard (gpointer p) g_string_free (ar, TRUE); } +void +rspamd_gstring_free_soft (gpointer p) +{ + GString *ar = (GString *)p; + + g_string_free (ar, FALSE); +} void rspamd_init_libs (void) |