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 <y...@winhong.com>
---
  src/conf/virstorageobj.c | 14 ++++++++------
  1 file changed, 8 insertions(+), 6 deletions(-)

Reviewed-by: Michal Privoznik <mpriv...@redhat.com>

And pushed.

Michal

Reply via email to