summaryrefslogtreecommitdiff
path: root/locale.c
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2018-03-19 15:53:04 -0600
committerKarl Williamson <khw@cpan.org>2018-03-19 16:27:09 -0600
commitd15b6e8bb254351ea231a5a70064bbe97568ace7 (patch)
treef9364ea84809ed14b08ca27e205cc7838d6c15d2 /locale.c
parentf8115d60e8936ca9247d60e860ac0d21240bd8b1 (diff)
downloadperl-d15b6e8bb254351ea231a5a70064bbe97568ace7.tar.gz
locale.c: Add detail to debugging statement
so that it is easier to debug memory leaks.
Diffstat (limited to 'locale.c')
-rw-r--r--locale.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/locale.c b/locale.c
index 2079264bbd..835837b6f6 100644
--- a/locale.c
+++ b/locale.c
@@ -1042,7 +1042,7 @@ S_emulate_setlocale(const int category,
# ifdef DEBUGGING
if (DEBUG_Lv_TEST || debug_initialization) {
- PerlIO_printf(Perl_debug_log, "%s:%d: emulate_setlocale created %p\n", __FILE__, __LINE__, new_obj);
+ PerlIO_printf(Perl_debug_log, "%s:%d: emulate_setlocale created %p; should have freed %p\n", __FILE__, __LINE__, new_obj, old_obj);
}
# endif