From ef5c498bd166b5284fdf80d95b03daaa7e05556a Mon Sep 17 00:00:00 2001 From: Pablo Neira Ayuso Date: Fri, 14 Jun 2019 11:55:08 +0200 Subject: evaluate: double datatype_free() with dynamic integer datatypes datatype_set() already deals with this case, remove this. Signed-off-by: Pablo Neira Ayuso --- src/datatype.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/datatype.c') diff --git a/src/datatype.c b/src/datatype.c index 8ae3aa1c..519f79d7 100644 --- a/src/datatype.c +++ b/src/datatype.c @@ -1162,11 +1162,6 @@ const struct datatype *concat_type_alloc(uint32_t type) return dtype; } -void concat_type_destroy(const struct datatype *dtype) -{ - datatype_free(dtype); -} - const struct datatype *set_datatype_alloc(const struct datatype *orig_dtype, unsigned int byteorder) { -- cgit v1.2.3