mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
sysprofd: remove use of GAtomicRCBox
Using an embedded ref count allows us to backport to older operating systems for which GLib is restricted to 2.56.
This commit is contained in:
@ -84,7 +84,7 @@ ipc_rapl_profiler_stop_locked (IpcRaplProfiler *self)
|
||||
if (self->turbostat != NULL)
|
||||
sysprof_turbostat_stop (self->turbostat);
|
||||
|
||||
g_clear_pointer (&self->turbostat, sysprof_turbostat_free);
|
||||
g_clear_pointer (&self->turbostat, sysprof_turbostat_unref);
|
||||
g_clear_pointer (&self->counter_ids, g_array_unref);
|
||||
|
||||
if (self->writer != NULL)
|
||||
|
||||
Reference in New Issue
Block a user