ircd: add missing rb_free in start_zlib_session

This commit is contained in:
Simon Arlott 2016-02-10 22:45:14 +00:00
parent 1579e155b1
commit b9ff4868a9
No known key found for this signature in database
GPG key ID: BAFFFF5FF5FFAAAF

View file

@ -809,6 +809,7 @@ start_zlib_session(void *data)
sendto_realops_snomask(SNO_GENERAL, L_ALL, "Error creating zlib socketpair - %s", strerror(errno));
ilog(L_MAIN, "Error creating zlib socketpairs - %s", strerror(errno));
exit_client(server, server, server, "Error creating zlib socketpair");
rb_free(buf);
return;
}