* malloc_wrapper.cc (mallinfo): Initialize m if external malloc is used,
too (CID 60120).
This commit is contained in:
@ -241,7 +241,10 @@ mallinfo ()
|
||||
{
|
||||
struct mallinfo m;
|
||||
if (!use_internal)
|
||||
set_errno (ENOSYS);
|
||||
{
|
||||
memset (&m, 0, sizeof m);
|
||||
set_errno (ENOSYS);
|
||||
}
|
||||
else
|
||||
{
|
||||
__malloc_lock ();
|
||||
|
Reference in New Issue
Block a user