int32_t rechdr_items; /* number of items in rechdr queue */
char *bufp; /* pointer into buffer */
char ser_buf[BLKHDR2_LENGTH]; /* Serial buffer for data */
- POOLMEM *rechdr_queue; /* record header queue */
POOLMEM *buf; /* actual data buffer */
};
*/
block->buf_len = len;
block->buf = get_memory(block->buf_len);
- block->rechdr_queue = get_memory(block->buf_len);
block->rechdr_items = 0;
empty_block(block);
block->BlockVer = BLOCK_VER; /* default write version */
if (block) {
Dmsg1(999, "free_block buffer %x\n", block->buf);
free_memory(block->buf);
- free_memory(block->rechdr_queue);
Dmsg1(999, "free_block block %x\n", block);
free_memory((POOLMEM *)block);
}