yanyiwu/gojieba

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

Mlegbder opened this issue · 1 comments

___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

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