[ekiga/ds-gtk-application] Presentity: Fixed leak.
- From: Damien Sandras <dsandras src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga/ds-gtk-application] Presentity: Fixed leak.
- Date: Sun, 28 Sep 2014 15:05:58 +0000 (UTC)
commit 3506a510545b03977a27423176015b691cd41781
Author: Damien Sandras <dsandras seconix com>
Date: Sun Sep 28 17:05:16 2014 +0200
Presentity: Fixed leak.
lib/engine/components/opal/opal-presentity.cpp | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/lib/engine/components/opal/opal-presentity.cpp b/lib/engine/components/opal/opal-presentity.cpp
index f29f037..345dc0c 100644
--- a/lib/engine/components/opal/opal-presentity.cpp
+++ b/lib/engine/components/opal/opal-presentity.cpp
@@ -258,8 +258,10 @@ Opal::Presentity::edit_presentity ()
/* Translators: This is Edit name of the contact
* e.g. Editing Contact Claire Fleury.
*/
- const char *title = g_strdup_printf (_("Editing Contact %s"), get_name ().c_str ());
+ char *title = g_strdup_printf (_("Editing Contact %s"), get_name ().c_str ());
request->title (title);
+ g_free (title);
+
request->action (_("Done"));
request->text ("name", _("Name"), get_name (),
_("John Doe"));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]