valgrind使用后记

貌似真的是那个错误……就算不是那也是需要修正的

然后怎么解决这个问题呢,第一这个变量存储的是字符串,所以需要变长,有时值为一个常字符串,有时值为一个转换后的字符串(malloc的,需要free)。怎么办呢……于是搞了个全局变量(其实直接malloc也行),然后每次strcpy进去。

已经提交了,在r311

This entry was posted in fcitx development and tagged , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.