Skip to content

mmsd: fix problems when unregistering msg

Ronald Tessier ofono 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2service: fix object path when unregistering msgsrc/service.c+4 -80 replies
2/2service: free the msg after tracing its pathsrc/service.c+2 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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