intirain пре 4 година
родитељ
комит
90854c4122
1 измењених фајлова са 2 додато и 0 уклоњено
  1. 2 0
      relay.c

+ 2 - 0
relay.c

@@ -63,6 +63,8 @@ int relay_new_msg(int fd, void *t) {
 		/* only send to somebody */
 		relay_send_to(msg, req->visible, fd, req);
 
+	afree(msg, len);
+
 	return 0;
 }