From: "Rafal Maj" Newsgroups: comp.os.msdos.djgpp Subject: Memory leaks ? Date: Thu, 3 May 2001 12:05:07 +0200 Organization: Academic Computer Center CYFRONET AGH Lines: 16 Message-ID: <9crage$5td$2@info.cyf-kr.edu.pl> NNTP-Posting-Host: d-94-53-26.cyfronet.krakow.pl X-Trace: info.cyf-kr.edu.pl 988884303 6061 149.156.1.186 (3 May 2001 10:05:03 GMT) X-Complaints-To: news AT cyf-kr DOT edu DOT pl NNTP-Posting-Date: Thu, 3 May 2001 10:05:03 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Is ther any easy method (functions in DJGPP C++, I don't want to use debugger) to check if all memory that were allocated, was correctly freed ? Something like : int main() { save_memory_status() // ? char *s=new char[1000]; //... bool ok = test_memory_status(); // ? if (!ok) { cerr<<"Memory leaked !"<