Mercurial > hg > octave-nkf
changeset 16015:d910b9211cca
Plug memory leak in kbhit().
* libinterp/interpfcn/sysdep.cc(Fkbhit): Don't use new to get 2 bytes
of storage. Use a local variable instead.
author | Rik <rik@octave.org> |
---|---|
date | Thu, 07 Feb 2013 16:46:01 -0800 |
parents | 980f79a7bb55 |
children | 9194bb707d63 |
files | libinterp/interpfcn/sysdep.cc |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff