Re: [PATCH 0/5] alloc: Don't mask use of uninitialized variables in VIR_FREE

2020-03-05 Thread Ján Tomko
On a Thursday in 2020, Peter Krempa wrote: Neither GCC nor clang report warnings if pointer passed to VIR_FREE is uninitialized. This is probably caused by our internal implementation which mangles the pointer to it. Fix all offenders and replace VIR_FREE's internals with g_clear_pointer. Peter

[PATCH 0/5] alloc: Don't mask use of uninitialized variables in VIR_FREE

2020-03-05 Thread Peter Krempa
Neither GCC nor clang report warnings if pointer passed to VIR_FREE is uninitialized. This is probably caused by our internal implementation which mangles the pointer to it. Fix all offenders and replace VIR_FREE's internals with g_clear_pointer. Peter Krempa (5): virNetworkPortDefSaveStatus: F