[SSSD] Add a missing free()
Sumit Bose
sbose at redhat.com
Wed Jun 9 10:53:33 UTC 2010
Hi,
this patch fixes #517 by adding the missing call to free().
bye,
Sumit
-------------- next part --------------
From 251f1d14bd793637bfcadaa27b764e8f13ea9cd2 Mon Sep 17 00:00:00 2001
From: Sumit Bose <sbose at redhat.com>
Date: Wed, 9 Jun 2010 12:50:48 +0200
Subject: [PATCH] Add a missing free()
---
src/sss_client/pam_sss.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/sss_client/pam_sss.c b/src/sss_client/pam_sss.c
index d275800..1290add 100644
--- a/src/sss_client/pam_sss.c
+++ b/src/sss_client/pam_sss.c
@@ -278,6 +278,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;
}
--
1.7.0.1
More information about the sssd-devel
mailing list