summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2010-06-09 12:50:48 +0200
committerStephen Gallagher <sgallagh@redhat.com>2010-06-09 08:29:35 -0400
commite5196fd7da44e4ae04ab8b5d2e7191167762cf0b (patch)
tree9909d0cb1107bd3b7ebebe9e8cbaa4a96e81c1f5
parentfb02f9845f2d734d55973f27c2393148a9dd0838 (diff)
downloadsssd-e5196fd7da44e4ae04ab8b5d2e7191167762cf0b.tar.gz
sssd-e5196fd7da44e4ae04ab8b5d2e7191167762cf0b.tar.bz2
sssd-e5196fd7da44e4ae04ab8b5d2e7191167762cf0b.zip
Add a missing free()
-rw-r--r--src/sss_client/pam_sss.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sss_client/pam_sss.c b/src/sss_client/pam_sss.c
index d11fc0af..2faa3ad2 100644
--- a/src/sss_client/pam_sss.c
+++ b/src/sss_client/pam_sss.c
@@ -279,6 +279,7 @@ static int pack_message_v3(struct pam_items *pi, size_t *size,
if (rp != len) {
D(("error during packet creation."));
+ free(buf);
return PAM_BUF_ERR;
}