projects
/
umurmur.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
TextMessage handling added.
[umurmur.git]
/
src
/
client.c
diff --git
a/src/client.c
b/src/client.c
index 706e3f5bfa98f277e2c63b51218791e158824521..79300ca94a323930d62ffeeb0af82109b7edb39b 100644
(file)
--- a/
src/client.c
+++ b/
src/client.c
@@
-60,7
+60,7
@@
extern int udpsock;
void Client_init()
{
void Client_init()
{
- maxBandwidth = getIntConf(MAX_BANDWIDTH)
;
+ maxBandwidth = getIntConf(MAX_BANDWIDTH)
/ 8; /* From bits/s -> bytes/s */
}
int Client_count()
}
int Client_count()
@@
-223,6
+223,10
@@
void Client_free(client_t *client)
SSL_free(client->ssl);
close(client->tcpfd);
clientcount--;
SSL_free(client->ssl);
close(client->tcpfd);
clientcount--;
+ if (client->release)
+ free(client->release);
+ if (client->os)
+ free(client->os);
free(client);
}
free(client);
}