Fix a memory leak in writing numbers.
This commit is contained in:
parent
d0c7d0fdd6
commit
b63cd8a07d
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: execute.c,v 1.3 1994/12/02 00:43:30 phil Exp $ */
|
/* $NetBSD: execute.c,v 1.4 1995/10/10 00:22:54 phil Exp $ */
|
||||||
|
|
||||||
/* execute.c - run a bc program. */
|
/* execute.c - run a bc program. */
|
||||||
|
|
||||||
|
@ -262,6 +262,7 @@ execute ()
|
||||||
if (inst == 'W') out_char ('\n');
|
if (inst == 'W') out_char ('\n');
|
||||||
store_var (3); /* Special variable "last". */
|
store_var (3); /* Special variable "last". */
|
||||||
if (interactive) fflush (stdout);
|
if (interactive) fflush (stdout);
|
||||||
|
pop ();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'c' : /* Call special function. */
|
case 'c' : /* Call special function. */
|
||||||
|
|
Loading…
Reference in New Issue