[gtk+] app-chooser-widget: plug a memory leak
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] app-chooser-widget: plug a memory leak
- Date: Tue, 7 Dec 2010 09:09:33 +0000 (UTC)
commit 6f67f5281fcdd157a53be0ce1aa715471c0df18b
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Tue Dec 7 10:08:47 2010 +0100
app-chooser-widget: plug a memory leak
gtk/gtkappchooserwidget.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkappchooserwidget.c b/gtk/gtkappchooserwidget.c
index 95510e9..5de7c3e 100644
--- a/gtk/gtkappchooserwidget.c
+++ b/gtk/gtkappchooserwidget.c
@@ -402,13 +402,13 @@ gtk_app_chooser_sort_func (GtkTreeModel *model,
/* they're both recommended/falback or not, so if one is a heading, wins */
if (a_heading)
{
- return -1;
+ retval = -1;
goto out;
}
if (b_heading)
{
- return 1;
+ retval = 1;
goto out;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]