mirror of
https://github.com/flatpak/flatpak.git
synced 2026-09-15 07:40:36 -04:00
httpcache: Free the GError before exiting
Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
1 parent
dfe995a457
commit
4b159b11eb
1 file changed
+1
-1
+1
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user