Fixed leak and added minor documentation for #6384.