704df3
diff --git a/Storable.pm b/Storable.pm
704df3
index 9d8b621..c8f6db1 100644
704df3
--- a/Storable.pm
704df3
+++ b/Storable.pm
704df3
@@ -22,7 +22,7 @@ package Storable; @ISA = qw(Exporter);
704df3
 
704df3
 use vars qw($canonical $forgive_me $VERSION);
704df3
 
704df3
-$VERSION = '2.53';
704df3
+$VERSION = '2.56';
704df3
 
704df3
 BEGIN {
704df3
     if (eval { local $SIG{__DIE__}; require Log::Agent; 1 }) {
704df3
@@ -979,43 +979,43 @@ such.
704df3
 
704df3
 Here are some code samples showing a possible usage of Storable:
704df3
 
704df3
-	use Storable qw(store retrieve freeze thaw dclone);
704df3
+ use Storable qw(store retrieve freeze thaw dclone);
704df3
 
704df3
-	%color = ('Blue' => 0.1, 'Red' => 0.8, 'Black' => 0, 'White' => 1);
704df3
+ %color = ('Blue' => 0.1, 'Red' => 0.8, 'Black' => 0, 'White' => 1);
704df3
 
704df3
-	store(\%color, 'mycolors') or die "Can't store %a in mycolors!\n";
704df3
+ store(\%color, 'mycolors') or die "Can't store %a in mycolors!\n";
704df3
 
704df3
-	$colref = retrieve('mycolors');
704df3
-	die "Unable to retrieve from mycolors!\n" unless defined $colref;
704df3
-	printf "Blue is still %lf\n", $colref->{'Blue'};
704df3
+ $colref = retrieve('mycolors');
704df3
+ die "Unable to retrieve from mycolors!\n" unless defined $colref;
704df3
+ printf "Blue is still %lf\n", $colref->{'Blue'};
704df3
 
704df3
-	$colref2 = dclone(\%color);
704df3
+ $colref2 = dclone(\%color);
704df3
 
704df3
-	$str = freeze(\%color);
704df3
-	printf "Serialization of %%color is %d bytes long.\n", length($str);
704df3
-	$colref3 = thaw($str);
704df3
+ $str = freeze(\%color);
704df3
+ printf "Serialization of %%color is %d bytes long.\n", length($str);
704df3
+ $colref3 = thaw($str);
704df3
 
704df3
 which prints (on my machine):
704df3
 
704df3
-	Blue is still 0.100000
704df3
-	Serialization of %color is 102 bytes long.
704df3
+ Blue is still 0.100000
704df3
+ Serialization of %color is 102 bytes long.
704df3
 
704df3
 Serialization of CODE references and deserialization in a safe
704df3
 compartment:
704df3
 
704df3
 =for example begin
704df3
 
704df3
-	use Storable qw(freeze thaw);
704df3
-	use Safe;
704df3
-	use strict;
704df3
-	my $safe = new Safe;
704df3
+ use Storable qw(freeze thaw);
704df3
+ use Safe;
704df3
+ use strict;
704df3
+ my $safe = new Safe;
704df3
         # because of opcodes used in "use strict":
704df3
-	$safe->permit(qw(:default require));
704df3
-	local $Storable::Deparse = 1;
704df3
-	local $Storable::Eval = sub { $safe->reval($_[0]) };
704df3
-	my $serialized = freeze(sub { 42 });
704df3
-	my $code = thaw($serialized);
704df3
-	$code->() == 42;
704df3
+ $safe->permit(qw(:default require));
704df3
+ local $Storable::Deparse = 1;
704df3
+ local $Storable::Eval = sub { $safe->reval($_[0]) };
704df3
+ my $serialized = freeze(sub { 42 });
704df3
+ my $code = thaw($serialized);
704df3
+ $code->() == 42;
704df3
 
704df3
 =for example end
704df3
 
704df3
diff --git a/Storable.xs b/Storable.xs
704df3
index e7d0329..83cd001 100644
704df3
--- a/Storable.xs
704df3
+++ b/Storable.xs
704df3
@@ -1667,6 +1667,7 @@ static void free_context(pTHX_ stcxt_t *cxt)
704df3
 
704df3
 	ASSERT(!cxt->s_dirty, ("clean context"));
704df3
 	ASSERT(prev, ("not freeing root context"));
704df3
+	assert(prev);
704df3
 
704df3
 	SvREFCNT_dec(cxt->my_sv);
704df3
 	SET_STCXT(prev);
704df3
@@ -6677,6 +6678,7 @@ SV *	obj
704df3
  ALIAS:
704df3
   net_mstore = 1
704df3
  CODE:
704df3
+  RETVAL = &PL_sv_undef;
704df3
   if (!do_store(aTHX_ (PerlIO*) 0, obj, 0, ix, &RETVAL))
704df3
     RETVAL = &PL_sv_undef;
704df3
  OUTPUT: