projects
/
silc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0c9e76
)
Memory leak fix.
author
Pekka Riikonen
<priikone@silcnet.org>
Tue, 19 Apr 2005 09:03:45 +0000
(09:03 +0000)
committer
Pekka Riikonen
<priikone@silcnet.org>
Tue, 19 Apr 2005 09:03:45 +0000
(09:03 +0000)
apps/silcd/idlist.c
patch
|
blob
|
history
diff --git
a/apps/silcd/idlist.c
b/apps/silcd/idlist.c
index d47ba04aeb1bb77271a6f3fb1f309260cb3edeea..0a1561ce63dc62f5fb631d1c33d76af1bb94f876 100644
(file)
--- a/
apps/silcd/idlist.c
+++ b/
apps/silcd/idlist.c
@@
-454,6
+454,8
@@
void silc_idlist_client_destructor(SilcIDCache cache,
silc_free(client->userinfo);
silc_free(client->id);
silc_free(client->attrs);
+ if (client->data.public_key)
+ silc_pkcs_public_key_free(client->data.public_key);
silc_hash_table_free(client->channels);
memset(client, 'A', sizeof(*client));