summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/libsmb/clikrb5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/clikrb5.c b/source3/libsmb/clikrb5.c
index f81e86abf4..af0273853f 100644
--- a/source3/libsmb/clikrb5.c
+++ b/source3/libsmb/clikrb5.c
@@ -274,7 +274,7 @@ int create_kerberos_key_from_string(krb5_context context,
void kerberos_free_data_contents(krb5_context context, krb5_data *pdata)
{
-#if !defined(HAVE_KRB5_FREE_DATA_CONTENTS)
+#if defined(HAVE_KRB5_FREE_DATA_CONTENTS)
if (pdata->data) {
krb5_free_data_contents(context, pdata);
}