D7594: Update to synctex 1.19

Albert Astals Cid noreply at phabricator.kde.org
Thu Aug 31 21:37:44 UTC 2017


aacid added a comment.


  Is it possible that a memory leak sneaked in in this code?
  
  Without this code if i run
  
    ./autotests/editannotationcontentstest
  
  i don't get any memory leak but with it i get
  
  5: Direct leak of 131076 byte(s) in 4 object(s) allocated from:
  5:     #0 0x7fcf0e682ec0 in __interceptor_malloc (/usr/lib/x86_64-linux-gnu/libasan.so.3+0xc6ec0)
  5:     #1 0x7fcf0daeb869 in _synctex_malloc /home/kdeunstable/okular/core/synctex/synctex_parser_utils.c:73
  5:     #2 0x7fcf0dadb607 in synctex_reader_init_with_output_file /home/kdeunstable/okular/core/synctex/synctex_parser.c:759
  5:     #3 0x7fcf0dae6295 in synctex_scanner_new_with_output_file /home/kdeunstable/okular/core/synctex/synctex_parser.c:5837
  5:     #4 0x7fcf0d9ed585 in Okular::Document::openDocument(QString const&, QUrl const&, QMimeType const&, QString const&) /home/kdeunstable/okular/core/document.cpp:2413
  5:     #5 0x7fcf0dead04f in Okular::Part::doOpenFile(QMimeType const&, QString const&, bool*) /home/kdeunstable/okular/part.cpp:1295
  5:     #6 0x7fcf0deae866 in Okular::Part::openFile() /home/kdeunstable/okular/part.cpp:1417

REPOSITORY
  R223 Okular

REVISION DETAIL
  https://phabricator.kde.org/D7594

To: rkflx, #okular, sander, #kile
Cc: mludwig, aacid
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/okular-devel/attachments/20170831/a1e571b5/attachment.html>


More information about the Okular-devel mailing list