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

调用完jieba.Extract后defer jieba.Free() 过一会就会报错退出程序 #119

Open
Mlegbder opened this issue Aug 16, 2024 · 1 comment

Comments

@Mlegbder
Copy link

___go_build_womata_service_sys(79285,0x173a4b000) malloc: *** error for object 0x60000a7dc900: pointer being freed was not allocated
___go_build_womata_service_sys(79285,0x173a4b000) malloc: *** set a breakpoint in malloc_error_break to debug

@yanyiwu
Copy link
Owner

yanyiwu commented Aug 16, 2024

https://github.com/yanyiwu/gojieba-demo/blob/main/demo.go
我自己测试是ok的。
你是重复Free了吗?

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