https://bugzilla.redhat.com/show_bug.cgi?id=1938977
Petr Pisar <ppisar(a)redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Flags|needinfo?(ppisar(a)redhat.com |
|) |
--- Comment #4 from Petr Pisar <ppisar(a)redhat.com> ---
(In reply to Alexey Tikhonov from comment #3)
while running our test-suite with pcre2, I run into following issue
reported
by Valgrind:
```
==18073== 316 bytes in 1 blocks are possibly lost in loss record 158 of 195
==18073== at 0x483880B: malloc (vg_replace_malloc.c:309)
==18073== by 0x5932151: pcre2_compile_8 (in
/usr/lib64/libpcre2-8.so.0.9.0)
```
do you have any idea what could be a reason?
This happens in several tests and it's always 316 bytes.
`pcre2_code_free()` should be executed, is this enough?
Or is this a "known issues"?
I'm not aware about any memory leak in pcre2. Can you show me your code
including
a pattern and the options passed to pcre2_compile()? In general, once you don't
need the pcre2_code structure, you should free it with pcre2_code_free().
--
You are receiving this mail because:
You are on the CC list for the bug.