[petsc-users] question about Create/Duplicate functions
Matthew Knepley
knepley at gmail.com
Sun Dec 25 11:28:31 CST 2011
On Sun, Dec 25, 2011 at 10:17 AM, Dominik Szczerba <dominik at itis.ethz.ch>wrote:
> If I call a Create (or Duplicate) function on a non-Destroyed object,
> will be it destroyed automatically before the new allocation, or is a
> memory leak expected?
>
It will leak.
Matt
> Thanks
> Dominik
>
--
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20111225/0dfaa5f6/attachment.htm>
More information about the petsc-users
mailing list