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 <[email protected]>
---
  src/conf/virstorageobj.c | 14 ++++++++------
  1 file changed, 8 insertions(+), 6 deletions(-)

Reviewed-by: Michal Privoznik <[email protected]>

And pushed.

Michal

Reply via email to