Fixing memory leak issue with qtime pixelBufferDict