This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Assert that we aren't leaking memory.
[perl5.git] / 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;
              }
         }