Skip to content

Tech For Talk

a blog site for programmers

  • Contact

Tag: linux debugging

Posted on January 30, 2018May 1, 2022

How to detect memory leak in c program using valgrind?

valgrind is a popular tool which can detect memory in run-time. This blog post discusses how to install, and run valgrind at linux command line to detect memory leak in a sample C program.

Share this:

  • Email
  • Tweet
  • Reddit
  • Pocket
  • Print
  • Share on Tumblr

Like this:

Like Loading...

Recent Posts: Tech For Talk

Chapter 7 : Class Template Instantiation

C++ Templates Made Easy

Chapter 6 : Working with Class Templates

How to add Microsoft KM Loopback adapter in Windows 10

Chapter 5 : Miscellaneous template aspects

Top Posts & Pages

  • Chapter 4 : Return type of template function in C++
  • How to add/compile a kernel module as a new buildroot package
  • Cross compiling custom Linux Kenel driver for Rasberry Pi Platform
  • Format a micro SD card using gparted utility
  • Chapter 3 : All about Template Parameters in C++
  • Auto, static and global variable in C/C++ programming
  • How to access Ubuntu Linux Virtual Machine in NAT mode using FileZilla from Windows Host
  • How to resolve merge conflict in GIT
  • Why do we need virtual functions in C++?
  • How to detect memory leak in c program using valgrind?

Copyright Notice

© [Vivek Bhadra] and [http://vivekbhadra.wordpress.com], [2017]. Unauthorized use and/or duplication of this material without express and written permission from this site’s author and/or owner is strictly prohibited. Excerpts and links may be used, provided that full and clear credit is given to [Vivek Bhadra] and [http://vivekbhadra.wordpress.com] with appropriate and specific direction to the original content.

Powered by WordPress.com.
  • Contact
 

Loading Comments...
 

    %d