summaryrefslogtreecommitdiffstats
path: root/source/libads/sasl.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/libads/sasl.c')
-rw-r--r--source/libads/sasl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/libads/sasl.c b/source/libads/sasl.c
index 8eb2c86bed5..97ba9c92862 100644
--- a/source/libads/sasl.c
+++ b/source/libads/sasl.c
@@ -374,7 +374,7 @@ static ADS_STATUS ads_sasl_gssapi_bind(ADS_STRUCT *ads)
gss_release_buffer(&minor_status, &output_token);
- output_token.value = malloc(strlen(ads->config.bind_path) + 8);
+ output_token.value = SMB_MALLOC(strlen(ads->config.bind_path) + 8);
p = output_token.value;
*p++ = 1; /* no sign & seal selection */