[sushi] font: plug a minor leak
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sushi] font: plug a minor leak
- Date: Thu, 12 May 2011 23:40:18 +0000 (UTC)
commit e96baa893f411806907825718e19c381804cbdee
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Thu May 12 18:33:36 2011 -0400
font: plug a minor leak
src/libsushi/sushi-font-widget.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/libsushi/sushi-font-widget.c b/src/libsushi/sushi-font-widget.c
index 6c8cb42..c6c8983 100644
--- a/src/libsushi/sushi-font-widget.c
+++ b/src/libsushi/sushi-font-widget.c
@@ -430,6 +430,8 @@ font_face_async_ready_cb (GObject *object,
if (error != NULL) {
/* FIXME: need to signal the error */
g_print ("Can't load the font face: %s\n", error->message);
+ g_error_free (error);
+
return;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]