summaryrefslogtreecommitdiff
path: root/source4/libcli/util/asn1.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/libcli/util/asn1.c')
-rw-r--r--source4/libcli/util/asn1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/util/asn1.c b/source4/libcli/util/asn1.c
index 15858f4f75..2bf29f9161 100644
--- a/source4/libcli/util/asn1.c
+++ b/source4/libcli/util/asn1.c
@@ -534,7 +534,7 @@ BOOL asn1_check_OID(struct asn1_data *data, const char *OID)
data->has_error = True;
return False;
}
- talloc_free(id);
+ talloc_free(discard_const(id));
return True;
}