Browse Source

MT#56750 Destroy the `port_pool.free_list_lock`

Destroy the `port_pool.free_list_lock` upon freeing
the interface's data in `interfaces_free()`.

Change-Id: I6a92cc2cf9ed62db71c1a42a44bab45bfdd25894
pull/1642/head
Donat Zenichev 3 years ago
parent
commit
024d7da179
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      daemon/media_socket.c

+ 1
- 0
daemon/media_socket.c View File

@ -3171,6 +3171,7 @@ void interfaces_free(void) {
g_hash_table_destroy(pp->free_ports_ht); g_hash_table_destroy(pp->free_ports_ht);
} }
g_queue_clear(&pp->free_ports_q); g_queue_clear(&pp->free_ports_q);
mutex_destroy(&pp->free_list_lock);
g_slice_free1(sizeof(*spec), spec); g_slice_free1(sizeof(*spec), spec);
} }
g_list_free(ll); g_list_free(ll);


Loading…
Cancel
Save