Problem:
When inserting an entry, there is logging of the start and stop keys. This requires allocating two buffers which are eventually used in __wt_key_string.
Both buffers are allocated under a WT_RET, meaning that if the first buffer is allocated, but the second one fails, the first buffer leaks.
Definition of Done:
- Refactor/reorder/simplify the logging to remove the memory leak