提交 c0c7934e 编写于 作者: L LINxiansheng 提交者: wangzelin.wzl

Fix incorrect type usage

上级 0dabb16d
......@@ -241,7 +241,7 @@ char* easy_pool_strdup(easy_pool_t* pool, const char* str)
easy_pool_cleanup_t* easy_pool_cleanup_new(easy_pool_t* pool, const void* data, easy_pool_cleanup_pt* handler)
{
easy_pool_cleanup_t* cl;
cl = easy_pool_alloc(pool, sizeof(easy_pool_t));
cl = easy_pool_alloc(pool, sizeof(easy_pool_cleanup_t));
if (cl) {
cl->handler = handler;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册