I don't think so, immutables are kept in memory until the process
finishes. That's by design.
Read the comments on gwlib/octstr.h, there's an explanation about it
there.
Regards,
--
Alejandro Guerrieri
aguerri...@kannel.org
On 25/11/2009, at 12:04, Dilan Anuruddha wrote:
Hi all,
I've been using kannel libraries for a campus project. When we
create Octstr objects using octstr_imm (e.g. when we pass arguments
to a function), we don't release the memory.... Isn't this leaking
memory??? So do we have to explicitly release memory inside the
function????
thanks in advance,
Dilan