On Mon, 2022-04-04 at 08:42 +0200, Martin Wilck wrote: > > I was wondering about the same thing. But vector_reset() calls free() > on every slot. So no, I don't think anything is leaked here. The API > behaves admittedly in a surprising manner. Sorry, I was confused. Only v->slot is freed. Forget about this. Martin -- dm-devel mailing list dm-devel@xxxxxxxxxx https://listman.redhat.com/mailman/listinfo/dm-devel