We help IT Professionals succeed at work.

Free Memory use in Delphi Array

asptrader
asptrader asked
on
I've created the two Type shown below.  After they have been instantiated in code, how do I free the memory associated with them?

  TDoubleArray = array[Word] of Double;
  PDoubleArray = ^TDoubleArray;

Thanks.
Comment
Watch Question

Commented:
Hello, i think no need to free the array:
http://delphi.about.com/od/beginners/a/arrays.htm
MerijnBSr. Software Engineer

Commented:
That might be incorrect, since in code I see a pointer to an array.

Please show (with code) how you use this array.