The str allocated in visit_type_str was not freed.
The visit_type_str function is an input visitor(QMP/String/etc-to-native)
here, it will allocate memory for caller, so the caller is responsible for
freeing the memory.
Signed-off-by: dunrong huang riegama...@gmail.com
---
hw/qdev-properties.c
Am 18.05.2012 13:14, schrieb dunrong huang:
The str allocated in visit_type_str was not freed.
The visit_type_str function is an input visitor(QMP/String/etc-to-native)
here, it will allocate memory for caller, so the caller is responsible for
freeing the memory.
Signed-off-by: dunrong