aboutsummaryrefslogtreecommitdiff
path: root/include/crypto/ivgen.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/crypto/ivgen.h')
-rw-r--r--include/crypto/ivgen.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/crypto/ivgen.h b/include/crypto/ivgen.h
index 9b4a62f7bb..e41521519c 100644
--- a/include/crypto/ivgen.h
+++ b/include/crypto/ivgen.h
@@ -203,4 +203,6 @@ QCryptoHashAlgorithm qcrypto_ivgen_get_hash(QCryptoIVGen *ivgen);
*/
void qcrypto_ivgen_free(QCryptoIVGen *ivgen);
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(QCryptoIVGen, qcrypto_ivgen_free)
+
#endif /* QCRYPTO_IVGEN_H */