mirror of
https://github.com/flatpak/flatpak.git
synced 2026-05-14 19:44:35 -04:00
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:
committed by
Atomic Bot
parent
3d9a616632
commit
9cc0f0d404
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user