<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - crash when removing annotation of page"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=101795#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - crash when removing annotation of page"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=101795">bug 101795</a>
              from <span class="vcard"><a class="email" href="mailto:thirdedition@gmx.net" title="Jannick <thirdedition@gmx.net>"> <span class="fn">Jannick</span></a>
</span></b>
        <pre>Created <span class=""><a href="attachment.cgi?id=133166" name="attach_133166" title="Remove annots in page class">attachment 133166</a> <a href="attachment.cgi?id=133166&action=edit" title="Remove annots in page class">[details]</a></span>
Remove annots in page class

Yes - attached. The code works well AFTER applying the patch. It uses

page->removeAnnot(page->getAnnots()->getAnnot(i)); 

For reference reasons the related thread incl. sample code and the starting
discussion(<a href="https://lists.freedesktop.org/archives/poppler/2017-July/012306.html">https://lists.freedesktop.org/archives/poppler/2017-July/012306.html</a>)
using

annots->removeAnnot(annots->getAnnot(i_annot));

instead which does ultimately not remove the annots which is why I had to
choose page->removeAnnot.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>