Assert that we aren't leaking memory.
Nicholas Clark [Wed, 30 Jun 2004 21:37:12 +0000 (21:37 +0000)]
p4raw-id: //depot/perl@23018

sv.c

diff --git a/sv.c b/sv.c
index 4e519a1..1cca051 100644 (file)
--- a/sv.c
+++ b/sv.c
@@ -6665,6 +6665,7 @@ Perl_sv_eq(pTHX_ register SV *sv1, register SV *sv2)
              }
              if (is_utf8) {
                   /* Downgrade not possible - cannot be eq */
+                  assert (tpv == 0);
                   return FALSE;
              }
         }