mirror of
				https://gitlab.gnome.org/GNOME/glib.git
				synced 2025-11-04 01:58:54 +01:00 
			
		
		
		
	gdbus-exit-on-close test: don't leak a variant
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=662100 Bug-NB: NB#287088 Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Reviewed-by: Colin Walters <walters@verbum.org>
This commit is contained in:
		@@ -167,6 +167,7 @@ test_exit_on_close (gconstpointer test_data)
 | 
				
			|||||||
                                           &error);
 | 
					                                           &error);
 | 
				
			||||||
          g_assert_no_error (error);
 | 
					          g_assert_no_error (error);
 | 
				
			||||||
          g_assert (v != NULL);
 | 
					          g_assert (v != NULL);
 | 
				
			||||||
 | 
					          g_variant_unref (v);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
          g_dbus_connection_close (c, NULL, close_async_cb, NULL);
 | 
					          g_dbus_connection_close (c, NULL, close_async_cb, NULL);
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user