Explorar o código

konfd: Fix memory leak while connection processing

Serj Kalichev %!s(int64=3) %!d(string=hai) anos
pai
achega
90be074e46
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      konf/buf/buf.c

+ 1 - 0
konf/buf/buf.c

@@ -250,4 +250,5 @@ void konf_buftree_remove(lub_list_t *this, int fd)
 
 	konf_buf_delete((konf_buf_t *)lub_list_node__get_data(t));
 	lub_list_del(this, t);
+	lub_list_node_free(t);
 }