view .hgsubstate @ 21517:e626d8a3427e

avoid possible memory leak related to ostringstream objects * oct-stream.cc (scanf_format_list::buf, printf_format_list::buf, textscan_format_list:buf): Use std::ostringstream object instead of a pointer to one that must be allocated. Instead of deleting, clear flags and initialize internal string buffer. Update all uses.
author John W. Eaton <jwe@octave.org>
date Mon, 21 Mar 2016 22:37:34 -0400
parents 98ecd9dba90f
children 30bf9a4d467a
line wrap: on
line source

273589d5bdbf4d34ea0c458bcfdfe2fb7a457457 gnulib-hg