fix memory leak image PB/CB info buffers