🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #14144

Re: resource leak closing application

#14144
From: Duane Hebert
Date: Fri, 29 Aug 2003 15:06
34 lines
1993 bytes
"RST" <rst@w-4.de> wrote in message
news:3f4f186a$1@newsgroups.borland.com...
> Hello,
>
> when I close my application (generated by C++ Builder 6 Pro), I get a
> resource leak reported by codeguard, which tells me something has not been
> freed, allocated with SysGetMem.
>
> Messages appear like:
> System::__linkproc__ GetMem(int)
> WinHelpviewer::initialization()
>
> Because I could not find an error in my application, I created a new blank
> application, with a blank form. I switched on also the codeguard option
and
> compiled and linked the blank application.
>
> Also this application, when it gets closed, shows the same codeguard
message
> concerning a resource leak, so it can not be a problem of my style of
coding
> obviously.
>
> Has somebody got an idea, what to do to get rid of this strange effect ?
Is
> this
> just a bug of Borland C++ Builder 6 ? Using BCB 5, I did not encounter
this.
>

It's a reported bug (QC 4152).  Extremely annoying and seemingly easy to
fix - It makes me appreciate Borland more
on a moment by moment basis :-)
Technical Details
Message-ID: <3f4f6b84$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3f4f186a$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,aa800ed4de36b37b
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-08-29 08:08:22 PST
From: "Duane Hebert" <spoo@flarn.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3f4f186a$1@newsgroups.borland.com>
Subject: Re: resource leak closing application
Date: Fri, 29 Aug 2003 11:06:48 -0400
Lines: 36
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 199.243.88.188
Message-ID: <3f4f6b84$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1062169476 199.243.88.188 (29 Aug 2003 08:04:36 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail