aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDanielle Madeley <danielle.madeley@collabora.co.uk>2011-10-14 14:20:46 +0800
committerDanielle Madeley <danielle.madeley@collabora.co.uk>2011-10-21 14:04:51 +0800
commit59f4a5e422744f5eda6f1143f297fdb579ecdf23 (patch)
tree706ff4392498e8f76d4b3a4ea36eac3b291c33ec /src
parent78f01f15a0d1106f4b063af5e71cd9207a2ffe79 (diff)
downloadgsoc2013-empathy-59f4a5e422744f5eda6f1143f297fdb579ecdf23.tar
gsoc2013-empathy-59f4a5e422744f5eda6f1143f297fdb579ecdf23.tar.gz
gsoc2013-empathy-59f4a5e422744f5eda6f1143f297fdb579ecdf23.tar.bz2
gsoc2013-empathy-59f4a5e422744f5eda6f1143f297fdb579ecdf23.tar.lz
gsoc2013-empathy-59f4a5e422744f5eda6f1143f297fdb579ecdf23.tar.xz
gsoc2013-empathy-59f4a5e422744f5eda6f1143f297fdb579ecdf23.tar.zst
gsoc2013-empathy-59f4a5e422744f5eda6f1143f297fdb579ecdf23.zip
Inline assignments are icky; free leaked string
Diffstat (limited to 'src')
-rw-r--r--src/empathy-call-window.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index a4060b909..4f3abbde9 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