It appears that in the vocab_count.c, the authors malloced some memory to store the word read from the corpus when they build the vocabulary, but they didn't free these memories in the end. I think this will lead to a memory leak issue right? Can anyone tell me that if I am right, and how to fix this issue?
It appears that in the vocab_count.c, the authors malloced some memory to store the word read from the corpus when they build the vocabulary, but they didn't free these memories in the end. I think this will lead to a memory leak issue right? Can anyone tell me that if I am right, and how to fix this issue?