提交 8550840b 编写于 作者: O openharmony_ci 提交者: Gitee

!63 fclose函数无法释放线程锁问题修复

Merge pull request !63 from wangchen/mutex_free
......@@ -29,6 +29,8 @@ int __fclose(FILE *f)
if (*head == f) *head = f->next;
__ofl_unlock();
pthread_mutex_destroy(f->lock);
free(f->getln_buf);
free(f);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册