ShellContactSystem: fix GSList leak
https://bugzilla.gnome.org/show_bug.cgi?id=678079
This commit is contained in:
parent
447246da74
commit
2b34978993
@ -297,7 +297,7 @@ sort_and_prepare_results (GSList *results)
|
||||
sorted_results = g_slist_prepend (sorted_results, id);
|
||||
}
|
||||
|
||||
g_slist_foreach (results, (GFunc) free_result, NULL);
|
||||
g_slist_free_full (results, (GDestroyNotify) free_result);
|
||||
|
||||
return sorted_results;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user