Re: [PATCH v2 03/17] virfdstream: Use autoptr for virFDStreamMsg

2020-08-20 Thread Peter Krempa
On Tue, Jul 07, 2020 at 21:46:21 +0200, Michal Privoznik wrote: > A cleanup function can be declared for virFDStreamMsg type so > that the structure doesn't have to be freed explicitly. > > Signed-off-by: Michal Privoznik > --- > src/util/virfdstream.c | 11 +-- > 1 file changed, 5

[PATCH v2 03/17] virfdstream: Use autoptr for virFDStreamMsg

2020-07-07 Thread Michal Privoznik
A cleanup function can be declared for virFDStreamMsg type so that the structure doesn't have to be freed explicitly. Signed-off-by: Michal Privoznik --- src/util/virfdstream.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/util/virfdstream.c