linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/4] telephony-maemo5: Fix D-Bus reply memory leaks
@ 2011-12-06 14:59 Syam Sidhardhan
  2011-12-06 14:59 ` [PATCH 2/4] cups: " Syam Sidhardhan
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Syam Sidhardhan @ 2011-12-06 14:59 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Syam Sidhardhan

---
 audio/telephony-maemo5.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/audio/telephony-maemo5.c b/audio/telephony-maemo5.c
index 23801c0..2832062 100644
--- a/audio/telephony-maemo5.c
+++ b/audio/telephony-maemo5.c
@@ -1599,12 +1599,12 @@ static void signal_strength_reply(DBusPendingCall *call, void *user_data)
 		error("Unable to parse signal_strength reply: %s, %s",
 							err.name, err.message);
 		dbus_error_free(&err);
-		return;
+		goto done;
 	}
 
 	if (net_err != 0) {
 		error("get_signal_strength failed with code %d", net_err);
-		return;
+		goto done;
 	}
 
 	update_signal_strength(signals_bar);
@@ -1654,12 +1654,12 @@ static void registration_status_reply(DBusPendingCall *call, void *user_data)
 		error("Unable to parse registration_status_change reply:"
 					" %s, %s", err.name, err.message);
 		dbus_error_free(&err);
-		return;
+		goto done;
 	}
 
 	if (net_err != 0) {
 		error("get_registration_status failed with code %d", net_err);
-		return;
+		goto done;
 	}
 
 	update_registration_status(status, lac, cell_id, operator_code,
-- 
1.7.4.1


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

end of thread, other threads:[~2011-12-08 10:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-06 14:59 [PATCH 1/4] telephony-maemo5: Fix D-Bus reply memory leaks Syam Sidhardhan
2011-12-06 14:59 ` [PATCH 2/4] cups: " Syam Sidhardhan
2011-12-06 14:59 ` [PATCH 3/4] agent: " Syam Sidhardhan
2011-12-06 14:59 ` [PATCH 4/4] mpris-player: " Syam Sidhardhan
2011-12-08 10:45 ` [PATCH 1/4] telephony-maemo5: " Johan Hedberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).