Skip to content
  • William Jon McCann's avatar
    Fix more leaks. Mostly RhythmDBEntry ref leaks. From #347446 · 41235602
    William Jon McCann authored
    2006-07-23  William Jon McCann  <mccann@jhu.edu>
    
    	* bindings/python/rb.override:
    	* daapsharing/rb-daap-share.c: (add_playlist_entry_to_mlcl):
    	* plugins/cd-recorder/rb-cd-recorder-plugin.c:
    	(playlist_row_inserted_cb):
    	* plugins/generic-player/rb-psp-source.c: (visit_playlist_dirs):
    	* plugins/rb-plugin-manager.c:
    	* podcast/rb-podcast-manager.c: (rb_podcast_manager_head_query_cb),
    	(rb_podcast_manager_copy_post),
    	(rb_podcast_manager_db_entry_deleted_cb),
    	(rb_podcast_manager_insert_feed):
    	* rhythmdb/rb-refstring.c: (rb_refstring_unref),
    	(rb_refstring_ref), (rb_refstring_get_sort_key):
    	* rhythmdb/rhythmdb-private.h:
    	* rhythmdb/rhythmdb-property-model.c:
    	(rhythmdb_property_model_set_property),
    	(rhythmdb_property_model_get_property),
    	(rhythmdb_property_model_finalize), (rhythmdb_property_model_new),
    	(rhythmdb_property_model_row_inserted_cb),
    	(rhythmdb_property_model_prop_changed_cb),
    	(rhythmdb_property_model_compare),
    	(rhythmdb_property_model_insert),
    	(rhythmdb_property_model_iter_from_string),
    	(rhythmdb_property_model_get_column_type),
    	(rhythmdb_property_model_get_iter),
    	(rhythmdb_property_model_get_value),
    	(rhythmdb_property_model_iter_nth_child), (query_model_cb),
    	(rhythmdb_property_model_enable_drag):
    	* rhythmdb/rhythmdb-query-model.c: (rhythmdb_query_model_init),
    	(rhythmdb_query_model_constructor), (rhythmdb_query_model_dispose),
    	(rhythmdb_query_model_finalize), (rhythmdb_query_model_new),
    	(rhythmdb_query_model_chain),
    	(rhythmdb_query_model_entry_added_cb),
    	(rhythmdb_query_model_entry_changed_cb),
    	(rhythmdb_query_model_entry_deleted_cb), (idle_process_update),
    	(rhythmdb_query_model_add_entry),
    	(rhythmdb_query_model_insert_into_main_list),
    	(rhythmdb_query_model_insert_into_limited_list),
    	(rhythmdb_query_model_remove_from_main_list),
    	(rhythmdb_query_model_remove_from_limited_list),
    	(rhythmdb_query_model_update_limited_entries),
    	(rhythmdb_query_model_emit_reorder),
    	(rhythmdb_query_model_do_reorder),
    	(rhythmdb_query_model_do_insert),
    	(rhythmdb_query_model_move_entry),
    	(rhythmdb_query_model_remove_entry),
    	(rhythmdb_query_model_entry_to_iter),
    	(rhythmdb_query_model_iter_to_entry),
    	(rhythmdb_query_model_get_previous_from_entry),
    	(rhythmdb_query_model_row_draggable),
    	(rhythmdb_query_model_drag_data_delete),
    	(rhythmdb_query_model_drag_data_get),
    	(rhythmdb_query_model_drag_data_received),
    	(rhythmdb_query_model_row_drop_possible),
    	(rhythmdb_query_model_row_drop_position),
    	(rhythmdb_query_model_add_results),
    	(rhythmdb_query_model_query_complete),
    	(rhythmdb_query_model_get_column_type),
    	(rhythmdb_query_model_get_iter), (rhythmdb_query_model_get_value),
    	(rhythmdb_query_model_iter_nth_child),
    	(apply_updated_entry_sequence),
    	(rhythmdb_query_model_child_index_to_base_index),
    	(rhythmdb_query_model_get_entry_index),
    	(rhythmdb_query_model_base_row_inserted),
    	(rhythmdb_query_model_base_row_deleted),
    	(rhythmdb_query_model_reapply_query), (_reverse_sorting_func),
    	(rhythmdb_query_model_location_sort_func),
    	(rhythmdb_query_model_title_sort_func),
    	(rhythmdb_query_model_album_sort_func),
    	(rhythmdb_query_model_artist_sort_func),
    	(rhythmdb_query_model_track_sort_func),
    	(rhythmdb_query_model_double_ceiling_sort_func),
    	(rhythmdb_query_model_ulong_sort_func),
    	(rhythmdb_query_model_date_sort_func),
    	(rhythmdb_query_model_string_sort_func),
    	(rhythmdb_query_model_within_limit):
    	* rhythmdb/rhythmdb-tree.c: (unparent_entries),
    	(rhythmdb_tree_parser_start_element),
    	(rhythmdb_tree_parser_end_element),
    	(rhythmdb_tree_parser_characters), (rhythmdb_tree_load),
    	(write_elt_name_open), (write_elt_name_close), (save_entry_string),
    	(save_entry_int), (save_entry_ulong), (save_entry_boolean),
    	(save_entry_uint64), (save_entry_double), (save_entry),
    	(set_entry_album), (rhythmdb_tree_entry_new),
    	(get_genres_hash_for_type), (get_or_create_genre),
    	(get_or_create_artist), (get_or_create_album), (remove_child),
    	(remove_entry_from_album), (rhythmdb_tree_entry_set),
    	(rhythmdb_tree_entry_delete), (remove_one_song),
    	(rhythmdb_tree_entry_delete_by_type),
    	(rhythmdb_tree_evaluate_query), (search_match_properties),
    	(evaluate_conjunctive_subquery), (do_conjunction),
    	(conjunctive_query_songs), (clone_remove_ptr_array_index),
    	(conjunctive_query_albums), (conjunctive_query_artists),
    	(conjunctive_query_genre), (conjunctive_query),
    	(split_query_by_disjunctions), (do_query_recurse),
    	(handle_entry_match), (rhythmdb_tree_entry_lookup_by_location),
    	(rhythmdb_tree_entry_foreach_func), (rhythmdb_tree_entry_foreach),
    	(hash_tree_entries_foreach), (hash_tree_albums_foreach),
    	(hash_tree_artists_foreach), (hash_tree_genres_foreach):
    	* rhythmdb/rhythmdb.c: (metadata_field_from_prop),
    	(extract_gtype_from_enum_entry),
    	(extract_nice_name_from_enum_entry), (rhythmdb_init),
    	(rhythmdb_execute_multi_stat_info_cb), (rhythmdb_action_free),
    	(rhythmdb_event_free), (rhythmdb_finalize),
    	(rhythmdb_set_property), (rhythmdb_get_property),
    	(rhythmdb_thread_create), (free_entry_changes),
    	(emit_entry_changed), (sync_entry_changed),
    	(process_added_entries_cb), (process_deleted_entries_cb),
    	(rhythmdb_commit_internal), (rhythmdb_add_timeout_commit),
    	(rhythmdb_entry_allocate), (rhythmdb_entry_get_type_data),
    	(rhythmdb_entry_insert), (rhythmdb_entry_new),
    	(rhythmdb_entry_example_new), (rhythmdb_entry_ref),
    	(rhythmdb_entry_finalize), (rhythmdb_entry_unref),
    	(rhythmdb_entry_is_editable), (set_props_from_metadata),
    	(rhythmdb_process_stat_event), (rhythmdb_add_import_error_entry),
    	(rhythmdb_process_metadata_load),
    	(rhythmdb_process_file_created_or_modified),
    	(rhythmdb_process_file_deleted), (rhythmdb_process_events),
    	(rhythmdb_execute_stat_info_cb), (rhythmdb_execute_stat),
    	(queue_stat_uri), (queue_stat_uri_tad), (rhythmdb_execute_load),
    	(rhythmdb_entry_get), (entry_to_rb_metadata), (rhythmdb_add_uri),
    	(rhythmdb_add_uri_with_type), (rhythmdb_entry_set),
    	(record_entry_change), (rhythmdb_entry_set_internal),
    	(rhythmdb_entry_sync_mirrored), (rhythmdb_entry_delete),
    	(rhythmdb_entry_move_to_trash_cb),
    	(rhythmdb_entry_move_to_trash_set_error),
    	(rhythmdb_entry_move_to_trash), (rhythmdb_entry_delete_by_type),
    	(rhythmdb_nice_elt_name_from_propid),
    	(rhythmdb_propid_from_nice_elt_name),
    	(rhythmdb_entry_lookup_by_location), (rhythmdb_entry_foreach),
    	(rhythmdb_evaluate_query), (rhythmdb_emit_entry_deleted),
    	(rhythmdb_compute_status_normal), (default_sync_metadata),
    	(rhythmdb_entry_register_type), (rhythmdb_entry_type_foreach),
    	(rhythmdb_entry_type_get_by_name), (song_can_sync_metadata),
    	(podcast_get_playback_uri), (podcast_data_destroy),
    	(rhythmdb_entry_set_mount_point), (rhythmdb_entry_set_visibility),
    	(rhythmdb_entry_dup_string), (rhythmdb_entry_get_string),
    	(rhythmdb_entry_get_boolean), (rhythmdb_entry_get_uint64),
    	(rhythmdb_entry_get_entry_type), (rhythmdb_entry_get_pointer),
    	(rhythmdb_entry_get_ulong), (rhythmdb_entry_get_double),
    	(rhythmdb_entry_get_playback_uri), (rhythmdb_get_property_type):
    	* rhythmdb/rhythmdb.h:
    	* shell/rb-play-order-linear-loop.c:
    	(rb_linear_play_order_loop_get_next),
    	(rb_linear_play_order_loop_get_previous):
    	* shell/rb-play-order-linear.c: (rb_linear_play_order_get_next),
    	(rb_linear_play_order_get_previous):
    	* shell/rb-play-order-queue.c: (rb_queue_play_order_get_previous):
    	* shell/rb-play-order-random.c: (get_query_model_contents):
    	* shell/rb-play-order-shuffle.c: (handle_query_model_changed),
    	(get_query_model_contents):
    	* shell/rb-play-order.c: (rb_play_order_constructor),
    	(rb_play_order_finalize),
    	(rb_play_order_set_playing_entry_internal),
    	(rb_play_order_set_property), (rb_play_order_new),
    	(rb_play_order_get_player), (rb_play_order_get_source),
    	(rb_play_order_get_db), (rb_play_order_get_query_model),
    	(rb_play_order_player_is_playing),
    	(rb_play_order_set_playing_entry),
    	(rb_play_order_get_playing_entry),
    	(rb_play_order_playing_source_changed),
    	(rb_play_order_query_model_changed),
    	(rb_play_order_entry_added_cb), (rb_play_order_row_deleted_cb),
    	(default_has_next), (default_has_previous),
    	(sync_playing_entry_cb), (default_playing_entry_removed),
    	(rb_play_order_has_next), (rb_play_order_get_next),
    	(rb_play_order_go_next), (rb_play_order_has_previous),
    	(rb_play_order_get_previous), (rb_play_order_go_previous),
    	(rb_play_order_model_not_empty),
    	(rb_play_order_update_have_next_previous):
    	* shell/rb-playlist-manager.c: (rb_playlist_manager_is_dirty),
    	(rb_playlist_manager_save_playlists),
    	(rb_playlist_manager_set_automatic_playlist),
    	(rb_playlist_manager_cmd_edit_automatic_playlist),
    	(_queue_track_cb), (rb_playlist_manager_get_playlists),
    	(rb_playlist_manager_get_playlist_names), (_get_playlist_by_name):
    	* shell/rb-shell-clipboard.c: (add_playlist_to_menu):
    	* shell/rb-shell-player.c: (rb_shell_player_constructor),
    	(volume_pre_unmount_cb), (reemit_playing_signal),
    	(notify_playing_idle), (rb_shell_player_open_playlist_url),
    	(rb_shell_player_handle_eos_unlocked),
    	(rb_shell_player_handle_eos), (rb_shell_player_init),
    	(rb_shell_player_new), (rb_shell_player_get_playing_entry),
    	(playlist_entry_cb), (rb_shell_player_open_entry),
    	(rb_shell_player_play), (do_next_idle), (gconf_play_order_changed),
    	(rb_shell_player_set_play_order),
    	(rb_shell_player_set_playback_state),
    	(rb_shell_player_sync_play_order),
    	(rb_shell_player_play_order_update_cb),
    	(rb_shell_player_jump_to_current), (swap_playing_source),
    	(rb_shell_player_do_previous), (rb_shell_player_do_next),
    	(rb_shell_player_do_previous_or_seek), (rb_shell_player_playpause),
    	(rb_shell_player_sync_volume), (rb_shell_player_sync_replaygain),
    	(rb_shell_player_entry_activated_cb),
    	(rb_shell_player_property_row_activated_cb),
    	(rb_shell_player_entry_changed_cb),
    	(rb_shell_player_sync_with_source), (rb_shell_player_sync_buttons),
    	(rb_shell_player_pause),
    	(rb_shell_player_get_playing_song_duration),
    	(rb_shell_player_error), (error_cb), (tick_cb),
    	(info_available_cb), (buffering_cb),
    	(rb_shell_player_get_playing_path), (grab_mmkey), (filter_mmkeys):
    	* shell/rb-shell.c: (rb_shell_playing_from_queue_cb),
    	(rb_shell_jump_to_current):
    	* sources/rb-auto-playlist-source.c:
    	(rb_auto_playlist_source_finalize), (impl_receive_drag),
    	(impl_save_contents_to_xml), (rb_auto_playlist_source_set_query),
    	(rb_auto_playlist_source_get_query):
    	* sources/rb-auto-playlist-source.h:
    	* sources/rb-browser-source.c: (rb_browser_source_do_query):
    	* sources/rb-import-errors-source.c:
    	(rb_import_errors_source_constructor):
    	* sources/rb-iradio-source.c: (rb_iradio_source_do_query):
    	* sources/rb-library-source.c: (filepath_parse_pattern):
    	* sources/rb-missing-files-source.c:
    	(rb_missing_files_source_constructor):
    	* sources/rb-play-queue-source.c:
    	(rb_play_queue_source_clear_queue),
    	(rb_play_queue_source_track_info_cell_data_func):
    	* sources/rb-playlist-source.c: (rb_playlist_source_set_property),
    	(rb_playlist_source_get_property), (playlist_iter_func),
    	(rb_playlist_source_save_to_xml), (rb_playlist_source_row_deleted),
    	(rb_playlist_source_track_cell_data_func):
    	* sources/rb-podcast-source.c: (construct_query_from_selection),
    	(rb_podcast_source_post_status_cell_data_func),
    	(rb_podcast_source_post_feed_cell_data_func),
    	(rb_podcast_source_feed_title_search_func),
    	(rb_podcast_source_post_date_cell_data_func):
    	* sources/rb-source.c: (default_get_status),
    	(rb_source_get_status), (rb_source_browser_toggled),
    	(rb_source_update_play_statistics), (rb_source_search),
    	(rb_source_get_config_widget), (default_add_to_queue),
    	(rb_source_add_to_queue), (rb_source_receive_drag),
    	(rb_source_gather_hash_keys):
    	* sources/rb-sourcelist-model.c: (rb_sourcelist_model_new),
    	(rb_sourcelist_model_is_row_visible),
    	(rb_sourcelist_model_row_is_separator),
    	(rb_sourcelist_model_drag_data_received), (path_is_droppable),
    	(path_is_reorderable), (rb_sourcelist_model_row_draggable),
    	(rb_sourcelist_model_drag_data_get):
    	* sources/rb-sourcelist.c: (rb_sourcelist_append),
    	(match_source_to_iter), (rb_sourcelist_source_to_iter),
    	(rb_sourcelist_visible_source_to_iter),
    	(rb_sourcelist_edit_source_name), (set_source_playing),
    	(rb_sourcelist_set_playing_source), (rb_sourcelist_remove),
    	(rb_sourcelist_select), (rb_sourcelist_selection_changed_cb),
    	(drop_received_cb), (row_activated_cb), (emit_show_popup),
    	(key_release_cb), (name_notify_cb), (visibility_notify_cb),
    	(rb_sourcelist_title_cell_data_func), (source_name_edited_cb):
    	* sources/rb-static-playlist-source.c: (impl_save_contents_to_xml),
    	(rb_static_playlist_source_add_location_internal),
    	(rb_static_playlist_source_row_inserted):
    	* widgets/rb-entry-view.c: (type_ahead_search_func),
    	(rb_entry_view_finalize), (rb_entry_view_set_model),
    	(rb_entry_view_playing_cell_data_func),
    	(rb_entry_view_rating_cell_data_func),
    	(rb_entry_view_long_cell_data_func),
    	(rb_entry_view_play_count_cell_data_func),
    	(rb_entry_view_duration_cell_data_func),
    	(rb_entry_view_year_cell_data_func),
    	(rb_entry_view_quality_cell_data_func),
    	(rb_entry_view_location_cell_data_func),
    	(rb_entry_view_string_cell_data_func),
    	(rb_entry_view_sync_sorting), (rb_entry_view_set_sorting_type),
    	(rb_entry_view_get_sorting_order),
    	(rb_entry_view_set_sorting_order), (rb_entry_view_append_column),
    	(rb_entry_view_set_columns_clickable), (rb_entry_view_constructor),
    	(rb_entry_view_rated_cb), (rb_entry_view_pixbuf_clicked_cb),
    	(rb_entry_view_playing_song_changed), (harvest_entries),
    	(rb_entry_view_button_press_cb), (rb_entry_view_row_activated_cb),
    	(rb_entry_view_row_inserted_cb), (rb_entry_view_row_deleted_cb),
    	(set_column_visibility):
    	* widgets/rb-entry-view.h:
    	* widgets/rb-header.c: (rb_header_new),
    	(rb_header_set_playing_entry), (rb_header_set_title):
    	* widgets/rb-library-browser.c: (rebuild_child_model),
    	(rb_library_browser_set_model):
    	* widgets/rb-property-view.c:
    	(rb_property_view_set_model_internal), (rb_property_view_finalize),
    	(rb_property_view_set_property), (rb_property_view_get_property),
    	(rb_property_view_reset), (rb_property_view_get_model),
    	(rb_property_view_set_model), (rb_property_view_row_activated_cb),
    	(rb_property_view_button_press_cb):
    	* widgets/rb-query-creator.c: (rb_query_creator_constructor),
    	(rb_query_creator_get_property), (rb_query_creator_load_query),
    	(rb_query_creator_set_sorting), (rb_query_creator_new_from_query),
    	(rb_query_creator_get_query), (rb_query_creator_get_limit),
    	(rb_query_creator_get_sort_order), (limit_toggled_cb),
    	(lookup_row_by_widget), (remove_button_click_cb),
    	(add_button_click_cb), (create_property_option_menu):
    	* widgets/rb-song-info.c: (rb_song_info_constructor),
    	(rb_song_info_finalize), (rb_song_info_backward_clicked_cb),
    	(rb_song_info_forward_clicked_cb), (rb_song_info_update_buttons),
    	(rb_song_info_update_rating), (rb_song_info_sync_entry_single):
    	Fix more leaks.  Mostly RhythmDBEntry ref leaks.  From #347446
    41235602