Fix leak in flatpak_cache_http_uri

Need to free the return value of soup_header_parse_param_list

Closes: #1966
Approved by: alexlarsson
This commit is contained in:
Alexander Larsson
2018-08-14 11:26:58 +02:00
committed by Atomic Bot
parent 3d9a616632
commit 9cc0f0d404

View File

@@ -207,7 +207,7 @@ set_cache_http_data_from_headers (CacheHttpData *data,
if (cache_control && *cache_control)
{
GHashTable *params = soup_header_parse_param_list (cache_control);
g_autoptr(GHashTable) params = soup_header_parse_param_list (cache_control);
GHashTableIter iter;
gpointer key, value;