What a data source procedure allocates stays counted: only the sample planes, the decoder's copies of the strings a procedure returns, and the split buffers of an interleaved masked image stop counting once the image is decoded.