[PATCH v2] Unlock the storage pool objects after looking it up

Michal Privoznik mprivozn at redhat.com
Mon May 18 09:36:26 UTC 2020


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

Reviewed-by: Michal Privoznik <mprivozn at redhat.com>

And pushed.

Michal




More information about the libvir-list mailing list