==47703==ERROR: LeakSanitizer: detected memory leaksDirect leak of 16 byte(s) in 1 object(s) allocated from: #0 0x7fb815558f17 in operator new(unsigned
źródło: 13158
Regulamin
Reklama
Kontakt
O nas
FAQ
Osiągnięcia
Ranking
==47703==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 16 byte(s) in 1 object(s) allocated from:
#0 0x7fb815558f17 in operator new(unsigned
Wystarczy skompilować program z odpowiednimi flagami np.
g++ plik.cpp -o wynik.o -fsanitize=address,leak
./wynik.o