diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2010-12-07 10:08:47 +0100 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2010-12-07 10:08:47 +0100 |
commit | 6f67f5281fcdd157a53be0ce1aa715471c0df18b (patch) | |
tree | ba1de25ef9175ed0af1022e61f4650a398162ad5 /gtk/gtkappchooserwidget.c | |
parent | 509e0423e1487e290afa246d86cf9361987713cb (diff) | |
download | gtk+-6f67f5281fcdd157a53be0ce1aa715471c0df18b.tar.gz |
app-chooser-widget: plug a memory leak
Diffstat (limited to 'gtk/gtkappchooserwidget.c')
-rw-r--r-- | gtk/gtkappchooserwidget.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkappchooserwidget.c b/gtk/gtkappchooserwidget.c index 95510e9a35..5de7c3e7e0 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; } |