summaryrefslogtreecommitdiffstats
path: root/src/sss_client
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:48 -0400
commitca95af6e15ddc8928684327ff05353b1e3a17acd (patch)
tree18e34d236a416077ff6af8b4f33b1d9350e8bb62 /src/sss_client
parent7ea81745ce5d131ad502baa7fcb5019f3d1f3d20 (diff)
downloadsssd-ca95af6e15ddc8928684327ff05353b1e3a17acd.tar.gz
sssd-ca95af6e15ddc8928684327ff05353b1e3a17acd.tar.xz
sssd-ca95af6e15ddc8928684327ff05353b1e3a17acd.zip
Add a missing free()
Diffstat (limited to 'src/sss_client')
-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 d11fc0af8..2faa3ad2e 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;
}