diff options
Diffstat (limited to 'libpurple/network.c')
-rw-r--r-- | libpurple/network.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libpurple/network.c b/libpurple/network.c index 0ceff6509f..636cf59d6e 100644 --- a/libpurple/network.c +++ b/libpurple/network.c @@ -1077,12 +1077,10 @@ purple_network_remove_port_mapping(gint fd) if (protocol) { purple_network_upnp_mapping_remove(&port, protocol, NULL); - g_hash_table_remove(upnp_port_mappings, protocol); } else { protocol = g_hash_table_lookup(nat_pmp_port_mappings, &port); if (protocol) { purple_network_nat_pmp_mapping_remove(&port, protocol, NULL); - g_hash_table_remove(nat_pmp_port_mappings, protocol); } } } |