summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/nsswitch/libwbclient/wbc_pam.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/nsswitch/libwbclient/wbc_pam.c b/source/nsswitch/libwbclient/wbc_pam.c
index c109625abf4..293f71c3479 100644
--- a/source/nsswitch/libwbclient/wbc_pam.c
+++ b/source/nsswitch/libwbclient/wbc_pam.c
@@ -416,6 +416,8 @@ wbcErr wbcAuthenticateUserEx(const struct wbcAuthUserParams *params,
}
done:
+ if (response.extra_data.data)
+ free(response.extra_data.data);
return wbc_status;
}