How to use valgrind?

valgrind --leak-check=full -v ./your_program

Source

Please note that the -v flag can result in messages like this:

--24101-- REDIR: 0xbb20580 (operator delete(void*)) redirected to 0x93b7d48 (operator delete(void*))

According to Stackoverflow, you shouldn’t be worry. When the flag -v is removed (in my case) the messages disappeared.

Have questions about this? Comments?Let me know!😀
Page created by G. (George) Samaras (DIT)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s