Base and derived class allocation
<p>In the code below, <code>drvdCls</code> derives from <code>bseCls</code>. This code compiles and runs as it is. I however find an issue here: <code>newBse</code> will get deallocated after <code>Test()</code> exits. Am I right?</p>

<pre><code>bseCls* Test()
{

    bseCls* newBse = new drvdCls();
    drvdCls newDrvd;
    newBse = &amp;newDrvd;
    return newBse;

}
</code></pre>
