Hello list,

In mapi_object_release there is a memory leak if retval is not MAPI_E_SUCCESS and private_data has been talloced.

In the context of openchangesim I found this situation time to time, I did a test patch were I also free obj->private_data and it seems to work (talloc should complain if the pointer is not talloced).

So the question is : should private_data be talloc_free in every cases?


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

Reply via email to