All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] mmsd: fix problems when unregistering msg
@ 2012-03-22 16:37 Ronald Tessier
  2012-03-22 16:37 ` [PATCH 1/2] service: fix object path " Ronald Tessier
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Ronald Tessier @ 2012-03-22 16:37 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 767 bytes --]

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


^ permalink raw reply	[flat|nested] 8+ messages in thread
* [PATCH 0/2] mmsd: fix problems when unregistering msg
@ 2012-03-14 10:45 Ronald Tessier
  2012-03-14 10:46 ` [PATCH 1/1] service: remove unused mms_request's members Ronald Tessier
  0 siblings, 1 reply; 8+ messages in thread
From: Ronald Tessier @ 2012-03-14 10:45 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 767 bytes --]

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-03-22 20:24 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-22 16:37 [PATCH 0/2] mmsd: fix problems when unregistering msg Ronald Tessier
2012-03-22 16:37 ` [PATCH 1/2] service: fix object path " Ronald Tessier
2012-03-22 16:37 ` [PATCH 2/2] service: free the msg after tracing its path Ronald Tessier
2012-03-22 16:37 ` [PATCH 0/1] mmsd service Ronald Tessier
2012-03-22 16:37 ` [PATCH 1/1] service: remove unused mms_request's members Ronald Tessier
2012-03-22 20:24   ` Marcel Holtmann
2012-03-22 20:23 ` [PATCH 0/2] mmsd: fix problems when unregistering msg Marcel Holtmann
  -- strict thread matches above, loose matches on Subject: below --
2012-03-14 10:45 Ronald Tessier
2012-03-14 10:46 ` [PATCH 1/1] service: remove unused mms_request's members Ronald Tessier

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.