[Bug 10179] Spurious heap warning in tiny example program