libfprint/SOURCES/0123-fpi-ssm-Define-autoptr-cleanup-function.patch
2021-09-09 20:12:48 +00:00

23 lines
835 B
Diff

From ea9e12ccb39578e0acd28d125c9ae4a7969890ad Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= <mail@3v1n0.net>
Date: Wed, 11 Dec 2019 20:57:15 +0100
Subject: [PATCH 123/181] fpi-ssm: Define autoptr cleanup function
---
libfprint/fpi-ssm.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libfprint/fpi-ssm.h b/libfprint/fpi-ssm.h
index d1334b5..956e355 100644
--- a/libfprint/fpi-ssm.h
+++ b/libfprint/fpi-ssm.h
@@ -109,3 +109,5 @@ void fpi_ssm_usb_transfer_with_weak_pointer_cb (FpiUsbTransfer *transfer,
FpDevice *device,
gpointer weak_ptr,
GError *error);
+
+G_DEFINE_AUTOPTR_CLEANUP_FUNC (FpiSsm, fpi_ssm_free)
--
2.24.1