[PATCH 08/25] network: fix memory leak in networkBuildDhcpDaemonCommandLine()

Ján Tomko jtomko at redhat.com
Thu Jun 25 23:11:40 UTC 2020

On a Wednesday in 2020, Laine Stump wrote:
>hostsfilestr was not being freed. This will be turned into g_autofree
>in an upcoming patch converting a lot more of the same file to using
>g_auto*, but I wanted to make a separate patch for this first so the
>other patch is simpler to review.

It also makes it easier to backport just the fix without the refactor.

Fixes: 97a0aa246799c97d0a9ca9ecd6b4fd932ae4756c

>Signed-off-by: Laine Stump <laine at redhat.com>
> src/network/bridge_driver.c | 1 +
> 1 file changed, 1 insertion(+)

Reviewed-by: Ján Tomko <jtomko at redhat.com>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20200626/c07e7a94/attachment-0001.sig>

More information about the libvir-list mailing list