<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - memory leak in Function::parse"
href="https://bugs.freedesktop.org/show_bug.cgi?id=106059">106059</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>memory leak in Function::parse
</td>
</tr>
<tr>
<th>Product</th>
<td>poppler
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>minor
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>general
</td>
</tr>
<tr>
<th>Assignee</th>
<td>poppler-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>pdknsk@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>==20034==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 1592 byte(s) in 1 object(s) allocated from:
#0 0x605b02 in operator new(unsigned long)
llvm/projects/compiler-rt/lib/asan/asan_new_delete.cc:93:3
#1 0x947666 in Function::parse(Object*, std::set<int, std::less<int>,
std::allocator<int> >*) poppler/poppler/Function.cc:96:12
#2 0x947004 in Function::parse(Object*) poppler/poppler/Function.cc:63:10
#3 0x9046d9 in GfxGouraudTriangleShading::parse(GfxResources*, int, Dict*,
Stream*, OutputDev*, GfxState*) poppler/poppler/GfxState.cc:4841:25
#4 0x8fa8a6 in GfxShading::parse(GfxResources*, Object*, OutputDev*,
GfxState*) poppler/poppler/GfxState.cc:3595:17
#5 0x884da7 in GfxResources::lookupShading(char*, OutputDev*, GfxState*)
poppler/poppler/Gfx.cc:488:12
#6 0x880b8f in Gfx::opShFill(Object*, int) poppler/poppler/Gfx.cc:2409:24
#7 0x88b290 in Gfx::go(bool) poppler/poppler/Gfx.cc:747:7
#8 0x889f45 in Gfx::display(Object*, bool) poppler/poppler/Gfx.cc:709:3
#9 0x97adf0 in Page::displaySlice(OutputDev*, double, double, int, bool,
bool, int, int, int, int, bool, bool (*)(void*), void*, bool (*)(Annot*,
void*), void*, bool) poppler/poppler/Page.cc:560:10
#10 0x7a439f in PDFDoc::displayPageSlice(OutputDev*, int, double, double,
int, bool, bool, bool, int, int, int, int, bool (*)(void*), void*, bool
(*)(Annot*, void*), void*, bool) poppler/poppler/PDFDoc.cc:550:20
#11 0xa28303 in poppler::page_renderer::render_page(poppler::page const*,
double, double, int, int, int, int, poppler::rotation_enum) const
poppler/cpp/poppler-page-renderer.cpp:180:13
...
SUMMARY: AddressSanitizer: 2648 byte(s) leaked in 3 allocation(s).</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>