🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Fixing a memory leak

#17068
From: JD
Date: Sat, 12 Apr 2003 01:30
18 lines
1300 bytes
"Remy Lebeau \(TeamB\)" <gambit47@yahoo.com> wrote:
>
>"JD" <nospam@nospam.com> wrote in message
>news:3e970049$1@newsgroups.borland.com...
>
>> Try this:
><snip>
>
> That is not valid.  The memory was allocated as a char[] but
> then you're freeing it as a People* instead.


>        They must match.

I did not know that (obviousely)

~ JD
Technical Details
Message-ID: <3e976c1d$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3e96fe40$1@newsgroups.borland.com> <3e970049$1@newsgroups.borland.com> <3e971900$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,23a77f481a630239
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-04-11 18:33:17 PST
From: "JD" <nospam@nospam.com>
Sender: "JD" <nospam@nospam.com>
Reply-To: "JD" <nospam@nospam.com>
Subject: Re: Fixing a memory leak
Newsgroups: borland.public.cppbuilder.nativeapi
X-User-Info: 172.153.227.14 172.153.227.14    
References:  <3e96fe40$1@newsgroups.borland.com> <3e970049$1@newsgroups.borland.com> <3e971900$1@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.65
Message-ID: <3e976c1d$1@newsgroups.borland.com>
Date: 11 Apr 2003 18:30:05 -0700
X-Trace: newsgroups.borland.com 1050111005 207.105.83.65 (11 Apr 2003 18:30:05 -0700)
Lines: 20
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail