summaryrefslogtreecommitdiff
path: root/regress/sys/kern/itimer
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2009-07-17 06:13:28 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2009-07-17 06:13:28 +0000
commitfb46667d07def5942735f08e5a6c006ce794fbc0 (patch)
tree4fdf08347fb1d7291d81292287aa1fb66fd2f583 /regress/sys/kern/itimer
parentf8421daefc51d4232e222c0c5936b73bf6f03b2c (diff)
Memory could be leaked if a second prompt or message appeared while another was
still present, so add a separate prompt free callback and make the _clear function responsible for calling it if necessary (rather than the individual prompt callbacks). Also make both messages and prompts clear any existing when a new is set. In addition, the screen could be modified while the prompt is there, restore the redraw-entire-screen behaviour on prompt clear; add a comment as a reminder.
Diffstat (limited to 'regress/sys/kern/itimer')
0 files changed, 0 insertions, 0 deletions