mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 08:00:53 +00:00
libsysprof-ui: fix dereference after steal
This is undefined behavior and most go right to left
This commit is contained in:
@ -476,7 +476,8 @@ sysprof_proxy_source_stop (SysprofSource *source)
|
|||||||
-1,
|
-1,
|
||||||
NULL,
|
NULL,
|
||||||
sysprof_proxy_source_stop_cb,
|
sysprof_proxy_source_stop_cb,
|
||||||
g_steal_pointer (&monitor));
|
monitor);
|
||||||
|
monitor = NULL; /* stolen */
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user