libsysprof-analyze: add missing autoptr cleanup funcs

This commit is contained in:
Christian Hergert
2023-04-28 12:13:08 -07:00
parent 5efa3d04e7
commit fdfe130edd
10 changed files with 22 additions and 0 deletions

View File

@ -22,6 +22,8 @@
#include <glib-object.h>
#include <sysprof-capture.h>
G_BEGIN_DECLS
#define SYSPROF_TYPE_DOCUMENT_FRAME (sysprof_document_frame_get_type())
@ -41,4 +43,6 @@ int sysprof_document_frame_get_pid (SysprofDocumentFrame *self);
SYSPROF_AVAILABLE_IN_ALL
gint64 sysprof_document_frame_get_time (SysprofDocumentFrame *self);
G_DEFINE_AUTOPTR_CLEANUP_FUNC (SysprofDocumentFrame, g_object_unref)
G_END_DECLS