projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d8b06f
)
[patch sv.c] improve "...free unref scalar" warning
author
Stas Bekman
<stas@stason.org>
Mon, 6 Oct 2003 21:19:53 +0000
(14:19 -0700)
committer
Abhijit Menon-Sen
<ams@wiw.org>
Tue, 7 Oct 2003 03:37:01 +0000
(
03:37
+0000)
Message-Id: <
3F823EE9
.4030103@stason.org>
p4raw-id: //depot/perl@21416
sv.c
patch
|
blob
|
history
diff --git
a/sv.c
b/sv.c
index
60e8874
..
0274fb4
100644
(file)
--- a/
sv.c
+++ b/
sv.c
@@
-5594,7
+5594,9
@@
Perl_sv_free(pTHX_ SV *sv)
return;
}
if (ckWARN_d(WARN_INTERNAL))
- Perl_warner(aTHX_ packWARN(WARN_INTERNAL), "Attempt to free unreferenced scalar");
+ Perl_warner(aTHX_ packWARN(WARN_INTERNAL),
+ "Attempt to free unreferenced scalar SV 0x%"UVxf,
+ PTR2UV(sv));
return;
}
if (--(SvREFCNT(sv)) > 0)