tests: Convert g_free to g_autofree macro in test-logging.c
commit4ed79a1bfb82be118da4014bde007acaaa7a7e7a
authorYonggang Luo <luoyonggang@gmail.com>
Tue, 15 Sep 2020 12:13:08 +0000 (15 20:13 +0800)
committerThomas Huth <thuth@redhat.com>
Wed, 16 Sep 2020 06:41:06 +0000 (16 08:41 +0200)
tree94c486869ba2c1b34cd3356f5e98a63617bd1cdd
parentd816614ca4f5af89a2b6d50ac840d7b77973f2fc
tests: Convert g_free to g_autofree macro in test-logging.c

g_autofree are prefer than g_free when possible.

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20200915121318.247-17-luoyonggang@gmail.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/test-logging.c