From acc9f59c7f3bdaa5be20f7c46e9e1a9eaa21192a Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 2 Nov 2004 11:17:06 +0000 Subject: r3476: fixed some const warnings (This used to be commit 7dc58dc01e19b342df76dcc14ee28ff37a8f9ace) --- source4/libcli/util/asn1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/libcli/util') 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; } -- cgit