Browse Source

konfd: Fix memory leak while connection processing

Serj Kalichev 3 years ago
parent
commit
90be074e46
1 changed files with 1 additions and 0 deletions
  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);
 }