docs: document use of automatic cleanup functions in glib
commit821f2967562a1fdc7e52a644963163e6917c4293
authorDaniel P. Berrangé <berrange@redhat.com>
Fri, 23 Aug 2019 16:31:35 +0000 (23 17:31 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Thu, 5 Sep 2019 13:27:06 +0000 (5 14:27 +0100)
tree46d719b4ea668d68c2833c20a933e6bee9ff3f81
parent637f39568fc0bd9848fd9d225d52ab0c4c443ed3
docs: document use of automatic cleanup functions in glib

Document the use of g_autofree and g_autoptr in glib for automatic
freeing of memory.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
CODING_STYLE.rst