On Fri, 2 Jul 2021 14:39:48 +0300 "Yordan Karadzhov (VMware)" <y.karadz@xxxxxxxxx> wrote: > > as you stated, but I'll keep it one line. > > > >> if (!instances) > >> goto out; > >> > >> instances[list->size + 1] = NULL; > > but you still need to make sure it is NULL terminated. Ah I missed that part of your comment (I'm still sleeping), will send a v2 ;-) -- Steve