Fix a double free in on_get_capabilities.
`value` was already being freed by `g_dbus_method_invocation_return_value`. Fixes #215
This commit is contained in:
		
							parent
							
								
									5e9c3cbc95
								
							
						
					
					
						commit
						2b2992de38
					
				| @ -116,7 +116,6 @@ static void on_get_capabilities(GDBusConnection * connection, | ||||
|         g_dbus_method_invocation_return_value(invocation, value); | ||||
| 
 | ||||
|         g_dbus_connection_flush(connection, NULL, NULL, NULL); | ||||
|         g_variant_unref(value); | ||||
| } | ||||
| 
 | ||||
| static void on_notify(GDBusConnection * connection, | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Steven Allen
						Steven Allen