Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

这里面是不是需要手动free #2

Open
ymcvalu opened this issue Feb 26, 2019 · 1 comment
Open

这里面是不是需要手动free #2

ymcvalu opened this issue Feb 26, 2019 · 1 comment

Comments

@ymcvalu
Copy link

ymcvalu commented Feb 26, 2019

C.Cstring返回的c字符串是分配在c堆的,这里应该手动释放内存吧

ontts/xf/xf.go

Line 52 in c68a2e4

func TextToSpeech(text, outPath string) error {

@imroc
Copy link
Owner

imroc commented Mar 1, 2019

@ymcvalu omg, 是的,但这个两年前就已修复,上传到的私有git仓库(上上上家公司),现在已经提交到github:af26ab2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants