title: Delphi need to free/shrink string?
body: <p>In this example, in a server service (live 24/24 hours), do I need to free/shrink <code>aBaz</code> for free clean/memory?</p>
  
  <pre><code>function foo(const aBar : string) : boolean;
  var
      aBaz : string;
  begin
      aBaz := 'very very long string';
  
      Result := (aBar = aBaz);
  
      aBaz := ''; // shrink `aBaz` for free memory
  end;
  </code></pre>
  
  <p><strong>Update</strong></p>
  
  <ol>
  <li>string var in a class is already free by class destroy or I need to shrink??</li>
  </ol>
  
  <p>Eg.:</p>
  
  <pre><code>class Foo = class
     FBar : string;
     public
        constructor Create; overload;
        destructor  Destroy; reintroduce;
   end;
  
    constructor Foo.Create(const ABar : string);
    begin
        FBar := ABar;
    end;
  
    destructor Foo.Destroy;
    begin
        FBar := ''; // destructor already free memory or I need to shrink?
    end;
  </code></pre>
  
  <ol start="2">
  <li>in a service (live 24/24 hours) when the run-time library frees the memory?</li>
  </ol>