Skip to content

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

Description

@ymcvalu

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

ontts/xf/xf.go

Line 52 in c68a2e4

func TextToSpeech(text, outPath string) error {

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions