I'm currently getting "Detected memory leaks" errors due to this. This change should always delete the buffers after use.