**** BEGIN LOGGING AT Fri Feb 05 02:59:56 2010 Feb 05 20:06:17 padovan: Do not use g_sources Feb 05 20:06:27 padovan: just forget about this g_timeout_add part Feb 05 20:06:58 padovan: modify send_method_call to accept a timeout argument and send "Connect" with a proper timeout and callback Feb 05 22:19:44 denkenz, padovan: there's a leak when listing the bluetooth devices in hfp, there's a patch for it in my tree: git://git.infradead.org/users/vcgomes/ofono.git devel branch, or sending it to the mailing list is a better idea? Feb 05 22:27:07 vcgomes: still need to add a g_free(device[i]) inside the for loop on list_devices_cb() Feb 05 22:29:40 padovan: yeah, thanks Feb 05 22:33:00 just pushed the new patch Feb 05 22:42:35 denkenz: do you really think it's a good idea change send_method_call to add the timeout arg? We'll have to add an extra parameter in all calls to it. Feb 05 22:50:31 vcgomes: Please send to the ML, I haven't valgrind'd this stuff yet Feb 05 22:50:50 padovan: Personally I'd like to see send_method_call simplified much more and broken into two functions Feb 05 22:51:05 padovan: One that handles the no-reply case and one that is full blown Feb 05 22:51:27 And honestly there should be a timeout on all of them, and proper error handling :) Feb 05 22:52:36 denkenz: sure Feb 05 22:52:38 denkenz: Sounds good. We might want add theses funcions to gdbus. I think that they can be useful there. Feb 05 22:53:02 s/theses/these/ Feb 05 22:53:24 padovan: Certainly, I see a lot of duplicated code in connman bluetooth/ofono/supplicant plugins, bluez and ofono **** ENDING LOGGING AT Sat Feb 06 02:59:56 2010