summaryrefslogtreecommitdiff
path: root/mathoms.c
diff options
context:
space:
mode:
authorRuslan Zakirov <ruz@bestpractical.com>2012-10-23 20:04:37 +0400
committerFather Chrysostomos <sprout@cpan.org>2012-10-25 20:02:55 -0700
commit33b889b0162a4f12e7c2a8d184afb63213130f07 (patch)
treec9be6100eb767fa7fc0139b86ebe421346e5c056 /mathoms.c
parent1104029a0824d177415806f3d30cecd2c5c399a1 (diff)
downloadperl-33b889b0162a4f12e7c2a8d184afb63213130f07.tar.gz
test memory leaks around magic get dieing
Leaks happen when newSV is allocated, but then copy operaton dies in get magic leaving not freed scalar around. Most of new tests check leaks in code path executing sv_mortalcopy which has such problem. Two cases has the same pattern, but don't use sv_mortalcopy. Can be found with the following command: grep -n -A3 'newSV\>' *.c | grep -B3 sv_set
Diffstat (limited to 'mathoms.c')
0 files changed, 0 insertions, 0 deletions