From 6827901230a962ef40fbc18c6ab25d4d702b95aa Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 18 Jan 2018 10:08:48 +0100 Subject: ta: introduce talloc_dup() and use it in some places It was actually already implemented as ta_dup_ptrtype(), but that seems like a clunky name. Also we still use the talloc_ names throughout the source, and I'd rather use an old name instead of a mixing inconsistent naming conventions. --- ta/ta_talloc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'ta/ta_talloc.h') diff --git a/ta/ta_talloc.h b/ta/ta_talloc.h index 9ebedd94fd..bde25bc013 100644 --- a/ta/ta_talloc.h +++ b/ta/ta_talloc.h @@ -45,6 +45,7 @@ #define talloc_get_size ta_get_size #define talloc_free_children ta_free_children #define talloc_free ta_free +#define talloc_dup ta_xdup #define talloc_memdup ta_xmemdup #define talloc_strdup ta_xstrdup #define talloc_strndup ta_xstrndup -- cgit v1.2.3