Skip to content
  • Christian Kellner's avatar
    Use g_autoptr in inhibitor lock code · db5587c9
    Christian Kellner authored
    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.
    db5587c9