On a Friday in 2021, Michal Privoznik wrote:
There are few functions in virnetsocket.c where an object/memory
is freed by explicit call. Use g_autoptr()/g_autofree/VIR_AUTOCLOSE
to do that automatically.

Signed-off-by: Michal Privoznik <[email protected]>
---
src/rpc/virnetsocket.c | 57 +++++++++++++++---------------------------
1 file changed, 20 insertions(+), 37 deletions(-)


Reviewed-by: Ján Tomko <[email protected]>

Jano

Attachment: signature.asc
Description: PGP signature

Reply via email to