Michal Privoznik 2c0898ff4e src: Use g_steal_pointer() more
There are few places where the g_steal_pointer() is open coded.
Switch them to calling the g_steal_pointer() function instead.
Generated by the following spatch:

  @ rule1 @
  expression a, b;
  @@
    <...
  - b = a;
    ... when != b
  - a = NULL;
  + b = g_steal_pointer(&a);
    ...>

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
2022-02-01 19:01:49 +01:00
..
2022-01-31 20:38:53 +01:00
2022-01-17 18:20:59 +01:00
2022-02-01 19:01:49 +01:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00