Increasing the resolution of video frames, while performing a multi-threaded encode, can result in a heap overflow in av1looprestoration_dealloc().