httpcache: Free the GError before exiting

Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
Simon McVittie committed 2024-02-15 20:33:06 +00:00
1 parent dfe995a457
commit 4b159b11eb
1 file changed
+1 -1
+1 -1
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;