]> Sergey Matveev's repositories - public-inbox.git/commit
imap: avoid unnecessary on-stack delete
authorEric Wong <e@80x24.org>
Sun, 7 Feb 2021 08:52:00 +0000 (08:52 +0000)
committerEric Wong <e@80x24.org>
Sun, 7 Feb 2021 22:57:29 +0000 (22:57 +0000)
commit18798ea686b3c5cc46831e6b3bd1dec0cefa3137
tree41d6fa97cac6263bd9564e3fd43660a609aee1c7
parent5beb4a5f6585acdb036a10b2be4b45b6e7613ed6
imap: avoid unnecessary on-stack delete

None of the Content-Type attributes are long-lived
(and unlikely to be memory intensive).  While these
callsites won't trigger $DB::args segfaults via
confess or longmess, it'll make future code audits
easier.

cf. commit 0795b0906cc81f40
    ("ds: guard against stack-not-refcounted quirk of Perl 5")
lib/PublicInbox/IMAP.pm