🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: std::string to BSTR conversion function leaks memory... (Urgent please)

#11818
From: Fernando
Date: Fri, 16 Jan 2004 15:34
8 lines
1279 bytes
On Fri, 16 Jan 2004 10:30:38 -0500, "Ed Mulroy [TeamB]"
<dont_email_me@bitbuc.ket> wrote:

>I can't see anything that leaks in that code.  Could it be that the program
>which uses the function does not free the returned string with
>SysFreeString?

It's passed to VB, which handles this automaticaly... :-?
Technical Details
Message-ID: <u11g001tat37jadh02pfhdvqk99lf85p0s@4ax.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <bjlf005pg85nvabmpc7ksd5ugs624tua53@4ax.com> <4008039f$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,61db49fd5c05f5b0
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-01-16 07:40:37 PST
From: Fernando  <frr@easyjob.net>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: std::string to BSTR conversion function leaks memory... (Urgent please)
Date: Fri, 16 Jan 2004 16:34:10 +0100
Message-ID: <u11g001tat37jadh02pfhdvqk99lf85p0s@4ax.com>
References: <bjlf005pg85nvabmpc7ksd5ugs624tua53@4ax.com> <4008039f$1@newsgroups.borland.com>
X-Newsreader: Forte Agent 1.9/32.560
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 217.127.66.80
X-Trace: newsgroups.borland.com 1074267252 217.127.66.80 (16 Jan 2004 07:34:12 -0700)
Lines: 8
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail