libsysprof-capture: Use sysprof_{steal,clear}_pointer() instead of GLib

They work exactly the same way as the GLib functions.

Signed-off-by: Philip Withnall <withnall@endlessm.com>

Helps: #40
This commit is contained in:
Philip Withnall
2020-07-01 17:41:03 +01:00
parent e96e35b6f1
commit 1d865c5c8e
8 changed files with 30 additions and 14 deletions

View File

@ -221,7 +221,7 @@ sysprof_capture_condition_init (void)
self->ref_count = 1;
return g_steal_pointer (&self);
return sysprof_steal_pointer (&self);
}
/* Returns NULL on allocation failure. */