Skip to content

Fix a memory leak

Whenever we switch back to the INIT_SEQ state, we call prepare_fb, which will allocate a set of virtual framebuffers and a task buffer regardless of whether they already exist. Do check if they exist, if they exist check if the size of the previous allocation matches the current requirement, if it doesn't free the buffer.

Merge request reports