check for memory leaks

How can i check the memory leaks over the terminal by use valgrind.
does anybody know the command for checking that.

thanks for helping me.
Use the same command line as you do to run the programme, with "valgrind" on the front

e.g. if you usually type

someProgramme

now type

valgrind someProgramme
Topic archived. No new replies allowed.