mmsd: fix problems when unregistering msg
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | service: fix object path when unregistering msgsrc/ | +4 | 0 replies | |
| 2/2 | service: free the msg after tracing its pathsrc/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] mmsd: fix problems when unregistering msg
Please find changes in mmsd in order to fix problems that occurred when unregistering messages.
1) the messages table contains mms_message object and not uuid, now every message is unregister with its correct path when the messages table is destroyed. Furthermore, don't need to remove the message from the table using g_hash_table_foreach_remove() since mms_message_unregister() already removed it from the table.
2) use the msg_path (within the debug statement) before removing the message from the table which free it
Ronald Tessier (2):
service: fix object path when unregistering msg
service: free the msg after tracing its path
src/service.c | 16 ++++++---------- 1 files changed, 6 insertions(+), 10 deletions(-)
--
1.7.4.1