fix edbus message refcounting in udisks efm backend

This commit is contained in:
Mike Blumenkrantz 2013-02-25 09:22:15 +00:00
parent 339f4c58e4
commit 0f9336b105
1 changed files with 2 additions and 0 deletions

View File

@ -147,6 +147,7 @@ _e_fm_main_udisks_cb_dev_all(void *data __UNUSED__, const EDBus_Message *msg,
edbus_connection_send(_e_fm_main_udisks_conn, new_msg,
_e_fm_main_udisks_cb_dev_verify,
eina_stringshare_add(path), -1);
edbus_message_unref(new_msg);
INF("DB INIT DEV+: %s", path);
}
}
@ -264,6 +265,7 @@ _e_fm_main_udisks_cb_dev_add(void *data __UNUSED__, const EDBus_Message *msg)
edbus_connection_send(_e_fm_main_udisks_conn, new,
_e_fm_main_udisks_cb_dev_verify_added,
eina_stringshare_add(path), -1);
edbus_message_unref(new);
}
static void