unref message when fail to set_notify or when not completed.
authorbarbieri <barbieri@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 28 Aug 2009 16:54:19 +0000 (16:54 +0000)
committerbarbieri <barbieri@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 28 Aug 2009 16:54:19 +0000 (16:54 +0000)
commita5d7dc59116b66cbddaf39bd067d079ce1aafe42
treee7d66a94ef0a8740c25e38e1bad176c606964f3a
parent7de950c5748b50e8dec3199905d4e4bea3be8a68
unref message when fail to set_notify or when not completed.

Hey folks,

Regarding edbus, I believe that when sending a message, if it fails to
set_notify, it should cancel and unref the pending message. Another
thing, if the pending call doesn't complete, it should free data and
unref it too, right?

I'm attaching a small patch to fix it.

Please, somebody take a look at that when have some time.

Thanks,

By: Bruno Dilly <bdilly@profusion.mobi>

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@42081 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
src/lib/dbus/e_dbus_message.c