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