소스 검색

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);
 }