forked from enlightenment/enlightenment
fix edbus message refcounting in udisks efm backend
This commit is contained in:
parent
339f4c58e4
commit
0f9336b105
|
@ -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,
|
edbus_connection_send(_e_fm_main_udisks_conn, new_msg,
|
||||||
_e_fm_main_udisks_cb_dev_verify,
|
_e_fm_main_udisks_cb_dev_verify,
|
||||||
eina_stringshare_add(path), -1);
|
eina_stringshare_add(path), -1);
|
||||||
|
edbus_message_unref(new_msg);
|
||||||
INF("DB INIT DEV+: %s", path);
|
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,
|
edbus_connection_send(_e_fm_main_udisks_conn, new,
|
||||||
_e_fm_main_udisks_cb_dev_verify_added,
|
_e_fm_main_udisks_cb_dev_verify_added,
|
||||||
eina_stringshare_add(path), -1);
|
eina_stringshare_add(path), -1);
|
||||||
|
edbus_message_unref(new);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in New Issue