瀏覽代碼

konfd: Fix memory leak while connection processing

Serj Kalichev 3 年之前
父節點
當前提交
90be074e46
共有 1 個文件被更改,包括 1 次插入0 次删除
  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);
 }