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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Reviewed-by: Michal Privoznik <mprivozn@xxxxxxxxxx>

And pushed.

Michal




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux