httpcache: Free the GError before exiting

Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
Simon McVittie
2024-02-15 00:00:00 +00:00
parent dfe995a457
commit 4b159b11eb

View File

@@ -6,7 +6,7 @@ int
main (int argc, char *argv[])
{
g_autoptr(FlatpakHttpSession) session = flatpak_create_http_session (PACKAGE_STRING);
GError *error = NULL;
g_autoptr(GError) error = NULL;
const char *url, *dest;
int flags = 0;