Opened 11 years ago

Closed 11 years ago

#726 closed defect (fixed)

Clean up after using zlib

Reported by: dantje Owned by: bvh-osm@…
Priority: minor Milestone:
Component: merkaartor Version:
Keywords: Cc: Chris Browet

Description

When downloading data from OSM, the zlib is not shut down properly, leading to this:

==10641== 42,292 (9,524 direct, 32,768 indirect) bytes in 1 blocks are definitely lost in loss record 161 of 174
==10641==    at 0x4021765: malloc (vg_replace_malloc.c:149)
==10641==    by 0x4CDA3F0: (within /usr/lib/libz.so.1.2.3.3)
==10641==    by 0x4CDA571: inflateInit2_ (in /usr/lib/libz.so.1.2.3.3)
==10641==    by 0x805D453: gzipDecode(QByteArray const&) (DownloadOSM.cpp:124)
==10641==    by 0x805E67A: Downloader::go(QString const&) (DownloadOSM.cpp:204)
==10641==    by 0x80600A3: downloadOSM(QMainWindow*, QString const&, QString const&, QString const&, bool, QString const&, int, CoordBox const&, MapDocument*) (DownloadOSM.cpp:356)
==10641==    by 0x806128E: downloadOSM(MainWindow*, CoordBox const&, MapDocument*) (DownloadOSM.cpp:500)
==10641==    by 0x80B2D94: MainWindow::on_fileDownloadAction_triggered() (MainWindow.cpp:288)
[...]

Attachments (1)

0001-FIX-Clean-up-after-using-zlib.patch (1020 bytes) - added by dantje 11 years ago.

Download all attachments as: .zip

Change History (2)

Changed 11 years ago by dantje

comment:1 Changed 11 years ago by bvh

Resolution: fixed
Status: newclosed

(In [7053]) FIX : clean up zlib after usage (by Daniel van Gerpen) -> closes #726

Note: See TracTickets for help on using tickets.