[dev] [commits] Horde branch master updated. 8b078775d157942bc4d609303003dcd5108b1bb2

Michael M Slusarz slusarz at horde.org
Fri Oct 12 19:29:22 UTC 2012


Quoting "Michael J. Rubinsky" <mrubinsk at horde.org>:

> commit 6bdd0207d09a3a5668ecad743ff31615f273565a
> Author: Michael J Rubinsky <mrubinsk at horde.org>
> Date:   Fri Oct 12 12:31:35 2012 -0400
>
>     Unset this variable to save memory.
>
>  framework/ActiveSync/lib/Horde/ActiveSync/Imap/Adapter.php |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
>
> http://git.horde.org/horde-git/-/commit/6bdd0207d09a3a5668ecad743ff31615f273565a

For the record, this call doesn't really do anything.  unset() does  
NOT free memory - it only (potentially) marks the variable as  
available to be GC'd.  In that particular function, it is debatable  
whether GC will be called before the end of that method (since there  
is only a few more calls before the method returns).

michael

___________________________________
Michael Slusarz [slusarz at horde.org]



More information about the dev mailing list