summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2007-04-11 16:10:07 +0000
committerClaudio Takahasi <claudio.takahasi@openbossa.org>2007-04-11 16:10:07 +0000
commit56943b11d7ab291467d8e7fa4551cd1f21b09402 (patch)
tree8a39247e8dc1edbc2660132ba02163f4a4230732
parent15746ba2445be8a8952263d829d5363e27690ea4 (diff)
input manager: delete the stored input info based on the input device source/destination address
-rw-r--r--input/manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/input/manager.c b/input/manager.c
index 11aa65a4..075d82d1 100644
--- a/input/manager.c
+++ b/input/manager.c
@@ -715,7 +715,7 @@ static DBusHandlerResult remove_device(DBusConnection *conn,
if (!dbus_connection_get_object_path_data(connection, path, (void *) &idev))
return err_does_not_exist(conn, msg, "Input doesn't exist");
- del_stored_device_info(&mgr->src, &idev->dst);
+ del_stored_device_info(&idev->src, &idev->dst);
if (input_device_unregister(conn, path) < 0) {
dbus_message_unref(reply);