On 5/7/20 6:23 PM, Yi Li wrote:
Use g_new0 to allocate and remove NULL checks from callers
and the lock will release properly
Signed-off-by: Yi Li <yili(a)winhong.com>
---
src/conf/virstorageobj.c | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
Reviewed-by: Michal Privoznik <mprivozn(a)redhat.com>
And pushed.
Michal