MT#55283 use _ht_destroy_ptr in a few more places

Change-Id: I98e088e5f6fe23532ca06a0592e73dac3b3024c3
pull/1918/head
Richard Fuchs 2 months ago
parent 91c0b57ea1
commit 798904edeb

@ -812,8 +812,7 @@ static void media_player_cache_entry_decoder_thread(void *p) {
media_player_kernel_player_start_now(mp);
obj_put(&mp->tt_obj);
}
t_hash_table_destroy(entry->wait_queue); // not needed any more
entry->wait_queue = media_player_ht_null();
t_hash_table_destroy_ptr(&entry->wait_queue); // not needed any more
obj_release(entry->call_ref);
mutex_unlock(&entry->lock);

@ -3360,8 +3360,7 @@ void interfaces_free(void) {
}
}
t_hash_table_destroy(local_media_socket_endpoints);
local_media_socket_endpoints = local_sockets_ht_null();
t_hash_table_destroy_ptr(&local_media_socket_endpoints);
}

Loading…
Cancel
Save