Re: [libvirt PATCH 00/10] virHashNew refactorings - part IV

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

 



On Tue, Jul 13, 2021 at 16:44:31 +0200, Tim Wiederhake wrote:
> "virHashNew" cannot return NULL, yet we check for NULL in various places.
> 
> See https://listman.redhat.com/archives/libvir-list/2021-July/msg00074.html.
> 
> Tim Wiederhake (10):
>   conf: Add AUTOPTR_CLEANUP_FUNC for virNWFilterBindingDef
>   virNWFilterBindingDefCopy: `virHashNew` cannot return NULL
>   virNWFilterBindingDefCopy: Use automatic memory management
>   virNWFilterBindingDefCopy: Remove superfluous `goto`s
>   virNWFilterBindingDefForNet: `virHashNew` cannot return NULL
>   virNWFilterBindingDefForNet: Use automatic memory management
>   virNWFilterBindingDefForNet: Remove superfluous `goto`s
>   virNWFilterBindingObjListNew: `virHashNew` cannot return NULL
>   virNWFilterBuildAll: `virHashNew` cannot return NULL
>   virNWFilterDHCPSnoopInit: `virHashNew` cannot return NULL

Series:

Reviewed-by: Peter Krempa <pkrempa@xxxxxxxxxx>




[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