Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Release string from Absolutepath? (Real Studio Plugins Mailinglist archive)

Back to the thread list
Previous thread: New Plugins-SDK available: Compiler complain
Next thread: New Plugins-SDK available


Re: Plugins website   -   Troy A. Dix
  Release string from Absolutepath?   -   Christian Schmitz
   Re: Release string from Absolutepath?   -   Joseph J. Strout

Release string from Absolutepath?
Date: 06.06.02 23:08 (Fri, 7 Jun 2002 00:08:39 +0200)
From: Christian Schmitz
Hi,

if I get a string from PathFromFolderitem, do I need to release it with
UnlockString or not?

Till now I don't, but this may leak memory.

Mfg
Christian

Re: Release string from Absolutepath?
Date: 06.06.02 23:18 (Thu, 6 Jun 2002 15:18:58 -0700)
From: Joseph J. Strout
At 12:08 AM +0200 6/7/02, Christian Schmitz wrote:

>if I get a string from PathFromFolderitem, do I need to release it with
>UnlockString or not?

Yes, unless you keep it around or immediately return it to the user
or some such.

>Till now I don't, but this may leak memory.

Yes, I imagine so.

Cheers,
- Joe