[rhythmbox] podcast: fix parse result refcounting a bit more



commit bf984b3e3070abb4916609aa8064237ac165737a
Author: Jonathan Matthew <jonathan d14n org>
Date:   Tue Mar 2 08:31:26 2021 +1000

    podcast: fix parse result refcounting a bit more
    
    The podcast add dialog feed model takes a reference to the parse result
    when it gets inserted directly.

 podcast/rb-podcast-add-dialog.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/podcast/rb-podcast-add-dialog.c b/podcast/rb-podcast-add-dialog.c
index edb6bd817..987500b6d 100644
--- a/podcast/rb-podcast-add-dialog.c
+++ b/podcast/rb-podcast-add-dialog.c
@@ -368,7 +368,7 @@ parse_cb (RBPodcastChannel *channel, GError *error, gpointer user_data)
                        gtk_tree_path_free (b);
                }
        } else {
-               /* model owns data->channel now */
+               rb_podcast_parse_channel_ref (data->channel);
                insert_search_result (data->dialog, data->channel, data->single);
                update_feed_status (data->dialog);
        }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]