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. Required fields are marked *

Note: Commenter is allowed to use '@User+blank' to automatically notify your reply to other commenter. e.g, if ABC is one of commenter of this post, then write '@ABC '(exclude ') will automatically send your comment to ABC. Using '@all ' to notify all previous commenters. Be sure that the value of User should exactly match with commenter's name (case sensitive).

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