One consequence of this change is that, in general, it should no longer be necessary to use the construct<div><br></div><div>if (x->y) {ierr = YDestroy(x->y);CHKERRQ(ierr)}</div><div><br></div><div>Instead, you should be able to always use</div>
<div><br></div><div>ierr = YDestroy(&x->y);CHKERRQ(ierr);</div><div><br></div><div>There are still some of the former around, but it should not be used in new code.</div>