Re: [PATCH] network: refactor networkSetIPv6Sysctls() for proper g_autofree usage

2020-07-21 Thread Ján Tomko
On a Friday in 2020, Laine Stump wrote: This function used the same char* three times for different purposes, freeing it after each use. Since we don't want to ever manually free an autofree'd pointer, modify it to use three separate char*, and make them all g_autofree. Signed-off-by: Laine

[PATCH] network: refactor networkSetIPv6Sysctls() for proper g_autofree usage

2020-07-17 Thread Laine Stump
This function used the same char* three times for different purposes, freeing it after each use. Since we don't want to ever manually free an autofree'd pointer, modify it to use three separate char*, and make them all g_autofree. Signed-off-by: Laine Stump --- This was suggested by Jan in