diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/windows/wintel/ChangeLog | 6 | ||||
| -rw-r--r-- | src/windows/wintel/screen.c | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/windows/wintel/ChangeLog b/src/windows/wintel/ChangeLog index 6e7cc0671..53a7736e9 100644 --- a/src/windows/wintel/ChangeLog +++ b/src/windows/wintel/ChangeLog @@ -1,3 +1,9 @@ +1999-04-17 <tytso@rsts-11.mit.edu> + + * screen.c (DeleteTopLine): Free the top line before when we allow + it to scroll out of the Scrollback buffer. Bugfix + suggested by Craig Huckabee <huck@cs.wisc.edu>. + Mon May 10 15:28:51 1999 Danilo Almeida <dalmeida@mit.edu> * Makefile.in: Do win32 build in subdir. diff --git a/src/windows/wintel/screen.c b/src/windows/wintel/screen.c index 4d20d237d..52e9103c2 100644 --- a/src/windows/wintel/screen.c +++ b/src/windows/wintel/screen.c @@ -243,6 +243,7 @@ void DeleteTopLine( pScr->buffer_top = pScr->buffer_top->next; assert(pScr->buffer_top != NULL); + free(pScr->buffer_top->prev); pScr->buffer_top->prev = NULL; pScr->numlines--; |
