Signed-off-by: Peter Krempa <pkrempa(a)redhat.com>
---
src/datatypes.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/datatypes.h b/src/datatypes.h
index 49cd9cd42c..0f9730d9e8 100644
--- a/src/datatypes.h
+++ b/src/datatypes.h
@@ -720,6 +720,7 @@ struct _virSecret {
char *usageID; /* the usage's unique identifier */
};
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(virSecret, virObjectUnref);
typedef int (*virStreamAbortFunc)(virStreamPtr, void *opaque);
typedef int (*virStreamFinishFunc)(virStreamPtr, void *opaque);
--
2.38.1