aboutsummaryrefslogtreecommitdiff
path: root/src/mm-port-serial.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mm-port-serial.h')
-rw-r--r--src/mm-port-serial.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mm-port-serial.h b/src/mm-port-serial.h
index e643d147..5ad17c2e 100644
--- a/src/mm-port-serial.h
+++ b/src/mm-port-serial.h
@@ -107,6 +107,7 @@ struct _MMPortSerialClass {
};
GType mm_port_serial_get_type (void);
+G_DEFINE_AUTOPTR_CLEANUP_FUNC (MMPortSerial, g_object_unref)
MMPortSerial *mm_port_serial_new (const char *name, MMPortType ptype);