On Saturday 28 February 2009 12:59:27 pm Chuck Bohling wrote:
> There are quite a few places in libmapi where talloc_free is not being
> called with mapi_response. And in some places, the data returned to the
> user is from the unfreed mapi_response.
>
> For example, in GetPropsAll
>         *properties =
> mapi_response->mapi_repl->u.mapi_GetPropsAll.properties;
>
> That's not correct is it? Doesn't the data need to be copied and then
> mapi_response freed? Has this been fixed or will it be fixed in .9?
I'm not sure I understand the question

If there was a copy, then the user would be responsible for free()ing the 
copy. If we return a pointer, the user would free the original data.

Perhaps you can explain the problem again?

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

Reply via email to