For Programmers: Free Programming Magazines  


Home > Archive > LDAP > November 2005 > Freeing resources?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Freeing resources?
Miro Dietiker

2005-11-24, 7:02 pm

Hi!
I'm doing series of ldap searches and I'm new on ldap query
implementation.
Compared to database queries (where you get a result which can be freed)
I don't understand the way how to free a message and its associated
resources and can't find any documentation on it.

Can someone explain me the way to implement searches resource-optimized?

Is there no internal ldap-protocol-handle of a message which needs to
be freed when no more in usage?

Thanx - Miro

+-------------------------------+ +-------------------------------+
| Miro Dietiker | | MD Systems Miro Dietiker |
+-------------------------------+ +-------------------------------+


Mike Jackson

2005-11-24, 7:02 pm

Miro Dietiker, MD Systems wrote:
> Hi!
> I'm doing series of ldap searches and I'm new on ldap query
> implementation.
> Compared to database queries (where you get a result which can be freed)
> I don't understand the way how to free a message and its associated
> resources and can't find any documentation on it.
>
> Can someone explain me the way to implement searches resource-optimized?
>
> Is there no internal ldap-protocol-handle of a message which needs to
> be freed when no more in usage?


You don't allocate and free memory with perl; it's handled automatically.


--
mike
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com