Re: [libvirt PATCH v2 00/11] virHashNew refactorings

2021-07-13 Thread Michal Prívozník
On 7/13/21 9:36 AM, Michal Prívozník wrote: > On 7/6/21 2:37 PM, Tim Wiederhake wrote: >> "virHashNew" cannot return NULL, yet we check for NULL in various places. >> >> This series is the first of several that remove these checks. Where >> applicable, the functions are refactored to use automatic

Re: [libvirt PATCH v2 00/11] virHashNew refactorings

2021-07-13 Thread Michal Prívozník
On 7/6/21 2:37 PM, Tim Wiederhake wrote: > "virHashNew" cannot return NULL, yet we check for NULL in various places. > > This series is the first of several that remove these checks. Where > applicable, the functions are refactored to use automatic memory management > by means of g_autoptr etc. as

[libvirt PATCH v2 00/11] virHashNew refactorings

2021-07-06 Thread Tim Wiederhake
"virHashNew" cannot return NULL, yet we check for NULL in various places. This series is the first of several that remove these checks. Where applicable, the functions are refactored to use automatic memory management by means of g_autoptr etc. as well. v1: https://listman.redhat.com/archives/lib