diff options
Diffstat (limited to 'av.c')
-rw-r--r-- | av.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -327,6 +327,9 @@ av_clear(register AV *av) return; /*SUPPRESS 560*/ + if (SvREADONLY(av)) + croak(no_modify); + /* Give any tie a chance to cleanup first */ if (SvRMAGICAL(av)) mg_clear((SV*)av); |