mirror of
https://github.com/irssi/irssi.git
synced 2026-08-24 02:52:20 +02:00
Removed casts in g_free(), therefore also removed some const declarations
This commit is contained in:
parent
67d343fd3a
commit
c2505203d0
8 changed files with 14 additions and 14 deletions
|
|
@ -67,8 +67,8 @@ static void network_proxy_socks5_destroy(struct network_proxy *proxy)
|
|||
{
|
||||
struct _network_proxy_socks5 *self = container_of(proxy, struct _network_proxy_socks5, proxy);
|
||||
|
||||
g_free((void *)self->password);
|
||||
g_free((void *)self->username);
|
||||
g_free(self->password);
|
||||
g_free(self->username);
|
||||
_network_proxy_destroy(proxy);
|
||||
g_free(self);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue