TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: How to avoid memory leaks in C?

4 点作者 philonoist超过 6 年前

2 条评论

TheChaplain超过 6 年前
Write code that is easy to maintain/read, make sure you understand the API:s and free allocated resources. Also learn how to use Valgrind, it is a remarkable tool really.
评论 #18653583 未加载
blacksqr超过 6 年前
&quot;Writing Bug-free C Code&quot;<p><a href="https:&#x2F;&#x2F;www.duckware.com&#x2F;bugfreec&#x2F;index.html" rel="nofollow">https:&#x2F;&#x2F;www.duckware.com&#x2F;bugfreec&#x2F;index.html</a>