Probably
```
_Header *header = new _Header();
```
here, and reuse below making sure to clean up.