summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/polkitagent/polkitagenthelper-bsdauth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/polkitagent/polkitagenthelper-bsdauth.c b/src/polkitagent/polkitagenthelper-bsdauth.c
index b410b45..b105180 100644
--- a/src/polkitagent/polkitagenthelper-bsdauth.c
+++ b/src/polkitagent/polkitagenthelper-bsdauth.c
@@ -45,7 +45,7 @@ main (int argc, char *argv[])
{
struct passwd *pw;
const char *user_to_auth;
- char *cookie;
+ char *cookie = NULL;
/* clear the entire environment to avoid attacks with
libraries honoring environment variables */