Skip to content
Snippets Groups Projects
Commit 0c30e722 authored by Michal Privoznik's avatar Michal Privoznik
Browse files

lib: Use g_steal_pointer() more


Generated by the following spatch:

  @@
  expression a, b;
  @@

  + b = g_steal_pointer(&a);
  - b = a;
    ... when != a
  - a = NULL;

Signed-off-by: default avatarMichal Privoznik <mprivozn@redhat.com>
Reviewed-by: default avatarErik Skultety <eskultet@redhat.com>
parent cebd4059
No related branches found
No related tags found
Loading
Showing
with 36 additions and 71 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment