Merge pull request #285 from Stebalien/fix-double-free
Fix a double free in on_get_capabilities.
This commit is contained in:
		
						commit
						1e735c69a6
					
				| @ -116,7 +116,6 @@ static void on_get_capabilities(GDBusConnection * connection, | |||||||
|         g_dbus_method_invocation_return_value(invocation, value); |         g_dbus_method_invocation_return_value(invocation, value); | ||||||
| 
 | 
 | ||||||
|         g_dbus_connection_flush(connection, NULL, NULL, NULL); |         g_dbus_connection_flush(connection, NULL, NULL, NULL); | ||||||
|         g_variant_unref(value); |  | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| static void on_notify(GDBusConnection * connection, | static void on_notify(GDBusConnection * connection, | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Nikos Tsipinakis
						Nikos Tsipinakis