PolicyKit: Branch 'master'
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Oct 25 09:21:15 UTC 2022
src/programs/pkttyagent.c | 6 ++++++
1 file changed, 6 insertions(+)
New commits:
commit cd7e055e6822449fbf6992868fa6d2b49d5c6fc4
Author: Martin Kletzander <nert.pinx+github at gmail.com>
Date: Tue Oct 25 09:21:13 2022 +0000
pkttyagent: Fix small memory leak
diff --git a/src/programs/pkttyagent.c b/src/programs/pkttyagent.c
index ccb5754..4d04e9c 100644
--- a/src/programs/pkttyagent.c
+++ b/src/programs/pkttyagent.c
@@ -150,6 +150,12 @@ main (int argc, char *argv[])
goto out;
}
+ if (opt_process != NULL && opt_system_bus_name != NULL)
+ {
+ g_printerr (_("%s: Options --process and --system-bus-name are mutually exclusive\n"),
+ g_get_prgname());
+ goto out;
+ }
if (opt_process != NULL)
{
gint pid;
More information about the hal-commit
mailing list