www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/18/01:32:36

From: sacleary AT mtu DOT edu (Stephen A. Cleary)
Newsgroups: comp.os.msdos.djgpp
Subject: Beginner checking for memory leaks
Date: 17 Mar 1997 16:08:51 -0500
Organization: Michigan Technological University
Lines: 15
Message-ID: <5gkbt3$2oj@fishlab9.fsh.mtu.edu>
NNTP-Posting-User: sacleary AT fishlab9 DOT fsh DOT mtu DOT edu
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hello.

I am a beginner in C, and I was writing some arbitrary data type
collections (linked list, AVL tree, etc.), and I would like to check my
code for memory leaks.  Is there any way you guys know of to do this? 
(i.e. all of the free memory functions return the free system memory,
which isn't changed by free())

Like is there some library function I'm not aware of that returns the free
memory in the heap?

	Thanks,
	Stephen Cleary
	sacleary AT mtu DOT edu

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019