summaryrefslogtreecommitdiff
path: root/libsoup/soup-headers.c
diff options
context:
space:
mode:
Diffstat (limited to 'libsoup/soup-headers.c')
-rw-r--r--libsoup/soup-headers.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libsoup/soup-headers.c b/libsoup/soup-headers.c
index 607b9110..ba66e8d5 100644
--- a/libsoup/soup-headers.c
+++ b/libsoup/soup-headers.c
@@ -740,6 +740,8 @@ parse_param_list (const char *header, char delim)
if (override || !g_hash_table_lookup (params, item))
g_hash_table_replace (params, item, value);
+ else
+ g_free (item);
}
g_slist_free (list);