StupidBeauty
Read times:465Posted at:Tue Nov 15 22:17:47 2011

转载:libxml tutorial 中文版,

xmlNodeListGetString所返回的指针指向的内存是动态分配的,需要用xmlFree来释放。

http://www.lslnet.com/linux/dosc1/06/linux-137224.htm

亮点:

→ 注意
因为xmlNodeListGetString为它返回的字符串分配了动态内存,你必须用xmlFree来释放它。

转载:libxml tutorial 中文版,

xmlNodeListGetString所返回的指针指向的内存是动态分配的,需要用xmlFree来释放。

http://www.lslnet.com/linux/dosc1/06/linux-137224.htm

亮点:

→ 注意
因为xmlNodeListGetString为它返回的字符串分配了动态内存,你必须用xmlFree来释放它。

Your opinions
Your name:Email:Website url:Opinion content:
- no title specified

HxLauncher: Launch Android applications by voice commands