<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Add support for reading PDF/A, PDF/X version from the information dictionary (glib backend)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=107182#c16">Comment # 16</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Add support for reading PDF/A, PDF/X version from the information dictionary (glib backend)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=107182">bug 107182</a>
              from <span class="vcard"><a class="email" href="mailto:e.rigas@cranfield.ac.uk" title="Evangelos Rigas <e.rigas@cranfield.ac.uk>"> <span class="fn">Evangelos Rigas</span></a>
</span></b>
        <pre>(In reply to Albert Astals Cid from <a href="show_bug.cgi?id=107182#c15">comment #15</a>)
<span class="quote">> You mean that 
>   std::string pdfsubver = pdfSubtypeVersion->toStr();
> doesn't work for you?</span >
The problem was on my computer, I managed to make it work.

<span class="quote">> Also there's a few memory leaks in the code, you never free
> pdfSubtypeVersion nor conf.</span >
Ooops! Sorry about that. I totally forgot that the string returned from
getDocInfoStringEntry has to be freed.

I have added an extra function to check if a string entry exists in the
document's info dictionary, thus solving the issue with the returned strings.</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>