On 08/17, Roland McGrath wrote:
>
> If we do add the destructor hook, I think it looks like this.
> ...
> @@ -271,6 +273,7 @@ struct utrace_engine *utrace_attach_task(
>       engine->flags = 0;
>       engine->ops = ops;
>       engine->data = data;
> +     engine->release = ops->release;

Agreed! this is much better.

Oleg.

Reply via email to