diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2017-06-22 20:36:21 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2017-06-22 20:36:21 +0200 |
commit | 933760c2a26732634e86f6695549fb7834b3bb49 (patch) | |
tree | 49f6dd70c560f712c0a2e6bf622c75649a3ce9a5 /kike.c | |
parent | 156ea32a90860d5d9dc3177ca4fa98f6b0483115 (diff) | |
download | xK-933760c2a26732634e86f6695549fb7834b3bb49.tar.gz xK-933760c2a26732634e86f6695549fb7834b3bb49.tar.xz xK-933760c2a26732634e86f6695549fb7834b3bb49.zip |
kike: fix two memory leaks
Diffstat (limited to 'kike.c')
-rw-r--r-- | kike.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -388,6 +388,7 @@ client_destroy (struct client *self) str_free (&self->read_buffer); str_free (&self->write_buffer); + free (self->ssl_cert_fingerprint); free (self->nickname); free (self->username); @@ -800,6 +801,7 @@ irc_send_to_roommates (struct client *c, const char *message) while ((target = str_map_iter_next (&iter))) if (target != c) client_send (target, "%s", message); + str_map_free (&targets); } // --- Clients (continued) ----------------------------------------------------- |