Opened 8 years ago
Closed 8 years ago
#6796 closed defect (fixed)
Perl's Safefree must be used for memory allocated by Perl
Reported by: | Ari Jolma | Owned by: | Ari Jolma |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | PerlBindings | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: |
Description
Using plain free for memory allocated by Perl leads to memory error in threaded Perl. Safefree from Perl must be used. Currently this applies to strings obtained with bytes_to_utf8, i.e., tmpbuf allocated with sv_to_utf8_string.
Change History (4)
comment:1 by , 8 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 by , 8 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Too fast! That was only a partial fix.
Note:
See TracTickets
for help on using tickets.
In 37220: