mirror of
				https://gitlab.gnome.org/GNOME/glib.git
				synced 2025-11-04 10:08:56 +01:00 
			
		
		
		
	gapplicationimpl-dbus: Fix leak of fd list object
Spotted by static analysis. https://bugzilla.gnome.org/show_bug.cgi?id=733576
This commit is contained in:
		@@ -753,6 +753,7 @@ g_application_impl_command_line (GApplicationImpl    *impl,
 | 
				
			|||||||
                                              g_variant_new ("(o^aay@a{sv})", object_path, arguments, platform_data),
 | 
					                                              g_variant_new ("(o^aay@a{sv})", object_path, arguments, platform_data),
 | 
				
			||||||
                                              G_VARIANT_TYPE ("(i)"), 0, G_MAXINT, fd_list, NULL,
 | 
					                                              G_VARIANT_TYPE ("(i)"), 0, G_MAXINT, fd_list, NULL,
 | 
				
			||||||
                                              g_application_impl_cmdline_done, &data);
 | 
					                                              g_application_impl_cmdline_done, &data);
 | 
				
			||||||
 | 
					    g_object_unref (fd_list);
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
#else
 | 
					#else
 | 
				
			||||||
  g_dbus_connection_call (impl->session_bus, impl->bus_name, impl->object_path,
 | 
					  g_dbus_connection_call (impl->session_bus, impl->bus_name, impl->object_path,
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user