Skip to content
  • Carl-Anton Ingmarsson's avatar
    file-loader: Fix leak of GtkRecentInfos in the RecentChooserMenu. · 2e5d8a71
    Carl-Anton Ingmarsson authored
    The list of GtkRecentInfos in MenuPopulateData would leak if the idle source was removed
    using g_source_remove(). Fix this by consolidating all the cleanup code into the
    idle_populate_clean_up() function. Also fix so that the cleanup is always run and not
    only when populate_id has already been set to 0.
    2e5d8a71