X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=perl%2FSesse%2Fpr0n%2FCommon.pm;fp=perl%2FSesse%2Fpr0n%2FCommon.pm;h=6685008d9a98eba693b6eceb7718521c20628123;hb=fd38bb6363334ccb1ed756ace442b59c5bdf6bd1;hp=171f47d538ebead85ed6dc0e43f8b1e49f9a1fcc;hpb=5e566ec44c046faca8700f7326188f3e7325f056;p=pr0n diff --git a/perl/Sesse/pr0n/Common.pm b/perl/Sesse/pr0n/Common.pm index 171f47d..6685008 100644 --- a/perl/Sesse/pr0n/Common.pm +++ b/perl/Sesse/pr0n/Common.pm @@ -603,7 +603,6 @@ sub ensure_cached { $img = read_original_image($r, $filename, $id, $dbwidth, $dbheight, 0); $new_dbwidth = $width = $img->Get('columns'); $new_dbheight = $height = $img->Get('rows'); - @$img = (); } else { $img = Image::Magick->new; $width = $dbwidth;