[PATCH] watch: Free service data in service_reply

2010-07-23 Thread Zhenhua Zhang
Avoid the memory leak of server_data. --- gdbus/watch.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/gdbus/watch.c b/gdbus/watch.c index 1d479fa..ccdbb64 100644 --- a/gdbus/watch.c +++ b/gdbus/watch.c @@ -468,8 +468,10 @@ static void service_reply(DBusPendingCall

Re: [PATCH] watch: Free service data in service_reply

2010-07-23 Thread Marcel Holtmann
Hi Zhenhua, Avoid the memory leak of server_data. --- gdbus/watch.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) do me a favor and post this to linux-blueto...@vger.kernel.org as well for the Bluetooth guys to review. After that I can take of applying it to all trees.