From Vulkan spec: ``` VUID-vkFreeCommandBuffers-pCommandBuffers-00048 pCommandBuffers must be a valid pointer to an array of commandBufferCount VkCommandBuffer handles, each element of which must either be a valid handle or NULL ```
So NULL elements of buffers array are allowed and should be handled.