Li Taiji

Results 6 comments of Li Taiji

加问一句,tutorial08中lept_copy函数 ``` void lept_copy(lept_value* dst, const lept_value* src) { assert(src != NULL && dst != NULL && src != dst); switch (src->type) { case LEPT_STRING: lept_set_string(dst, src->u.s.s, src->u.s.len); break; case...

@chanchancl 非常感谢帮助我这个刚用Github的小白,这是我实现的tutorial08代码,我已经贴上地址了[https://github.com/TaichiLi/json-tutorial/blob/master/tutorial08/my-leptjson.c](url)

[Mycode](https://github.com/TaichiLi/json-tutorial/blob/master/tutorial08/my-leptjson.c) 好的,已修改。这是我的代码。 我的程序出现的问题是内存泄漏,但我所有分配的内存都已经进行释放了。如果方便的话,可以介绍一下使用VS进行内存泄漏调试的具体方法,或者也可以提供一些相关资料。我目前只了解叶老师在专栏中介绍的方法,而且这种方法显示的内存泄漏信息,只是初次分配该内存的代码段,怎样再具体地确定内存泄漏的其他详细信息呢? 非常感谢你的回复和帮助!

非常感谢!我再仔细找找。

@chanchancl 终于调试成功了

@com3dian Can I use your python scripts?I want get all the text under the `` part.