progress meter: fix bugs found in stall detection and unknown size logic

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2011-02-11 19:09:30 +01:00
parent d55e139649
commit ab8d00d64f
3 changed files with 35 additions and 25 deletions

View File

@ -119,7 +119,7 @@ static void tftp_progress_done(void)
if (is_bb_progress_inited(&G.pmt)) {
tftp_progress_update();
bb_putchar_stderr('\n');
bb_progress_free(p);
bb_progress_free(&G.pmt);
}
}
#else