--- rxvt-unicode/src/perl/selection-pastebin 2006/01/17 17:01:54 1.3 +++ rxvt-unicode/src/perl/selection-pastebin 2006/01/17 17:04:18 1.4 @@ -48,6 +48,8 @@ $msg = "couldn't upload, '$cmd' failed"; } + unlink $tmpfile; + my $ov = $timers->{ov} = $self->overlay (-1, 0, length ($msg), 1, urxvt::OVERLAY_RSTYLE, 0); $ov->set (0, 0, $msg);