summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/polkitagent/polkitagenthelper-pam.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/polkitagent/polkitagenthelper-pam.c b/src/polkitagent/polkitagenthelper-pam.c
index 7af5321..292abbe 100644
--- a/src/polkitagent/polkitagenthelper-pam.c
+++ b/src/polkitagent/polkitagenthelper-pam.c
@@ -321,6 +321,7 @@ error:
}
}
memset (aresp, 0, n * sizeof *aresp);
+ free (aresp);
*resp = NULL;
return PAM_CONV_ERR;
}