Commit db5587c9 authored by Christian Kellner's avatar Christian Kellner
Browse files

Use g_autoptr in inhibitor lock code

Instead of doing manual memory management, use g_autoptr, because
it doing it manually is error prone.
Also use g_autoptr for the GError "error" and the GUnixFDList "fds"
which both were leaked before.
parent 28723742
Pipeline #27999 passed with stage
in 2 minutes and 53 seconds