app-chooser-widget: plug a memory leak

This commit is contained in:
Cosimo Cecchi
2010-12-07 10:08:47 +01:00
parent 509e0423e1
commit 6f67f5281f

View File

@@ -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;
}