aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2021-09-23 11:08:49 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2021-09-23 11:29:42 +0100
commit9d7cc9693c2d25b99ab1035c7f5c77e30d32dfd3 (patch)
tree98db3ddf99fe14db69b22dac2d79b8b2eeab1e6e /src
parent669751d5f007e8669ae58a234fc6cfba268eede0 (diff)
downloadrspamd-9d7cc9693c2d25b99ab1035c7f5c77e30d32dfd3.tar.gz
rspamd-9d7cc9693c2d25b99ab1035c7f5c77e30d32dfd3.zip
[Minor] Free the proper pointer
Diffstat (limited to 'src')
-rw-r--r--src/libserver/maps/map_helpers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/maps/map_helpers.c b/src/libserver/maps/map_helpers.c
index e06a7fbda..9ac84a81e 100644
--- a/src/libserver/maps/map_helpers.c
+++ b/src/libserver/maps/map_helpers.c
@@ -411,7 +411,7 @@ rspamd_parse_kv_list (
func (data->cur_data, stripped_key, default_value);
msg_debug_map ("insert key only pair: %s -> %s",
stripped_key, default_value);
- g_free (stripped_key);
+ g_free (key);
key = NULL;
}
break;