Hi Mathieu,

Looks like a worthwhile change to me.

We may just have to warn (within Doxygen documentation) developers
writing clients that they will now be expected to talloc their profile
struct.

Milan, Shaheed, would this change cause any troubles to your development
cycles?

While 1.1 will introduce some backward compatibility issues both for
libmapi and openchange server, I'd like to make sure developers using
openchange components can deal with it.

Julien.

On Sun, 2012-03-18 at 22:57 -0700, Matthieu Patou wrote:
> Hello list,
> 
> While trying to figure out why openchangesim require so much memory I 
> found that I had long lasting ldb objects and cli_credential.
> 
> But making profile to be talloced we can use profile as a talloc context 
> for ldb requests and for cli_credential thus allowing desallocation of 
> memory once the profile is not needed anymore.
> 
> I have also I patch to free the session in duplicate profile and another 
> to have correctly initialized structures so that valgrind doesn't complain.
> 
> 
> Any comments ?
> 
> Matthieu
> _______________________________________________
> devel mailing list
> [email protected]
> http://mailman.openchange.org/listinfo/devel

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
devel mailing list
[email protected]
http://mailman.openchange.org/listinfo/devel

Reply via email to