[empathy: 3/7] Inline assignments are icky; free leaked string
- From: Danielle Madeley <daniellem src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy: 3/7] Inline assignments are icky; free leaked string
- Date: Fri, 21 Oct 2011 21:45:29 +0000 (UTC)
commit 59f4a5e422744f5eda6f1143f297fdb579ecdf23
Author: Danielle Madeley <danielle madeley collabora co uk>
Date: Fri Oct 14 17:20:46 2011 +1100
Inline assignments are icky; free leaked string
src/empathy-call-window.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index a4060b9..4f3abbd 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -3155,16 +3155,18 @@ show_balance_error (GObject *object,
g_free (money);
}
+ tmp = g_strdup_printf (_("Your current balance is %s."), balance),
+
display_error (self,
NULL,
_("Sorry, you donât have enough credit for that call."),
- tmp = g_strdup_printf (_("Your current balance is %s."),
- balance),
- NULL,
+ tmp, NULL,
_("Top Up"),
uri,
EMP_RESPONSE_BALANCE);
+
g_free (tmp);
+ g_free (balance);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]