Okay, I see: refcnt is incremented in KSPGetPC().
And refct is decremented from 2 to 1.
On Mar 29, 2012 12:04 PM, "Dmitry Karpeev" <karpeev@mcs.anl.gov> wrote:Are you sure this is correct?KSPDestroy(&eksp) will still call PCDestroy() on subpc:Dmitry.On Thu, Mar 29, 2012 at 12:54 PM, Jed Brown <jedbrown@mcs.anl.gov> wrote:And the corresponding update to make GAMG stop leaking this PC.