summaryrefslogtreecommitdiffstats
path: root/ta/ta_utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'ta/ta_utils.c')
-rw-r--r--ta/ta_utils.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/ta/ta_utils.c b/ta/ta_utils.c
index 8d729a9028..62469686db 100644
--- a/ta/ta_utils.c
+++ b/ta/ta_utils.c
@@ -53,8 +53,6 @@ void *ta_new_context(void *ta_parent)
/* Set parent of ptr to ta_parent, return the ptr.
* Note that ta_parent==NULL will simply unset the current parent of ptr.
- * If the operation fails (on OOM), return NULL. (That's pretty bad behavior,
- * but the only way to signal failure.)
*/
void *ta_steal_(void *ta_parent, void *ptr)
{
@@ -288,12 +286,6 @@ char *ta_oom_s(char *s)
return s;
}
-void *ta_xsteal_(void *ta_parent, void *ptr)
-{
- ta_set_parent(ptr, ta_parent);
- return ptr;
-}
-
void *ta_xmemdup(void *ta_parent, void *ptr, size_t size)
{
void *new = ta_memdup(ta_parent, ptr, size);