aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kike.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kike.c b/kike.c
index 6073ea0..efcb39e 100644
--- a/kike.c
+++ b/kike.c
@@ -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) -----------------------------------------------------