word2vec icon indicating copy to clipboard operation
word2vec copied to clipboard

Memory leaks detected

Open fCorleone opened this issue 7 years ago • 0 comments

Memory leaks detected. I'm running program word2vec with command line like: ./word2vec -train ./questions-words.txt -output out.txt

=================================================================
==1469==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 96 byte(s) in 1 object(s) allocated from:
    #0 0x7fdddc6f0602 in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
    #1 0x411ff4 in TrainModel /home/mfc_fuzz/newprogram/word2vec/src/word2vec.c:600

SUMMARY: AddressSanitizer: 96 byte(s) leaked in 1 allocation(s).

fCorleone avatar Jul 17 '18 07:07 fCorleone