Hi zyx, hi all, I'm very sorry to have overlooked that problem with the check for an item being in the same tree already. I'm still interested in fixing the memory management in that class (PdfOutlineItem) and I'd like to submit a patch tomorrow or in the coming days, so please hold off on such until then.
Best regards, mabri > zyx <z...@litepdf.cz> has written on 26 February 2017 at 19:59: > > On Sat, 2016-07-16 at 20:44 +0200, zyx wrote: > > > On Thu, 2016-07-14 at 23:58 +0000, Matthew Brincke wrote: > > > > > I haven't changed the check, but documented it can't be deleted at > > > its source anymore. If that's too impractical (which it may be), > > > please say so and I'll change the check. > > > > thanks for the update. I committed it as revision 1775: > > http://sourceforge.net/p/podofo/code/1775 > > Hi, > I realized, when testing PoDoFo 0.9.5, that this change caused > a regression, one is not able to create new outlines using > PdfOutlineItem::CreateChild(), because it ends with an exception due to > the added check. I fixed it with revision 1827: > http://sourceforge.net/p/podofo/code/1827 > > Bye, > zyx > > -- > http://www.litePDF.cz i...@litepdf.cz > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > > _______________________________________________ > Podofo-users mailing list > Podofo-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/podofo-users ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Podofo-users mailing list Podofo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/podofo-users