mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +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,
|
||||
NULL,
|
||||
sysprof_proxy_source_stop_cb,
|
||||
g_steal_pointer (&monitor));
|
||||
monitor);
|
||||
monitor = NULL; /* stolen */
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user