Blame SOURCES/get-leaks.patch

03cf34
diff -up libsoup-2.56.0/examples/get.c.get-leaks libsoup-2.56.0/examples/get.c
03cf34
--- libsoup-2.56.0/examples/get.c.get-leaks	2016-09-16 17:14:27.000000000 +0200
03cf34
+++ libsoup-2.56.0/examples/get.c	2017-06-20 14:31:00.325517968 +0200
03cf34
@@ -90,6 +90,7 @@ get_url (const char *url)
03cf34
 				fclose (output_file);
03cf34
 		}
03cf34
 	}
03cf34
+	g_object_unref (msg);
03cf34
 }
03cf34
 
03cf34
 /* Inline class for providing a pre-configured client certificate */
03cf34
@@ -287,5 +288,7 @@ main (int argc, char **argv)
03cf34
 	if (!synchronous)
03cf34
 		g_main_loop_unref (loop);
03cf34
 
03cf34
+	g_object_unref (session);
03cf34
+
03cf34
 	return 0;
03cf34
 }