summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEric Koegel <eric.koegel@gmail.com>2017-05-04 10:58:54 +0300
committerEric Koegel <eric.koegel@gmail.com>2017-05-04 10:58:54 +0300
commitbf4ce67e52183df98b9d5f3e8583ec789c0bcc07 (patch)
tree43a5e9712e6bab654d86e1bb4949579817b38e30 /src
parent9300754247295d15fcbe674e329ce38b0091547d (diff)
downloadConsoleKit2-bf4ce67e52183df98b9d5f3e8583ec789c0bcc07.tar.gz
fix coverity cid 178982 Resource leak
Diffstat (limited to 'src')
-rw-r--r--src/ck-session.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ck-session.c b/src/ck-session.c
index 2ec311e..2b71154 100644
--- a/src/ck-session.c
+++ b/src/ck-session.c
@@ -623,6 +623,8 @@ ck_session_resume_all_devices (CkSession *session)
errno = 0;
}
}
+
+ g_close (fd, NULL);
}
}