summaryrefslogtreecommitdiffstats
path: root/ta
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-10-30 22:17:47 +0100
committerwm4 <wm4@nowhere>2013-10-30 22:19:32 +0100
commit03ec49be8fd43ea2dda3e14da506fb5fdacc2faf (patch)
tree144317ee29829abafdc07d4ca70930ddb30d8cf3 /ta
parent50e57c346faf3e00a82d0c4035f8eabeb622f486 (diff)
downloadmpv-03ec49be8fd43ea2dda3e14da506fb5fdacc2faf.tar.bz2
mpv-03ec49be8fd43ea2dda3e14da506fb5fdacc2faf.tar.xz
ta: track location debug info in 2 more cases
Was overlooked.
Diffstat (limited to 'ta')
-rw-r--r--ta/ta.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ta/ta.h b/ta/ta.h
index 1a9738a9f0..9e378f1902 100644
--- a/ta/ta.h
+++ b/ta/ta.h
@@ -131,6 +131,8 @@ void *ta_xrealloc_size(void *ta_parent, void *ptr, size_t size);
#define ta_zalloc_size(...) ta_dbg_set_loc(ta_zalloc_size(__VA_ARGS__), TA_LOC)
#define ta_realloc_size(...) ta_dbg_set_loc(ta_realloc_size(__VA_ARGS__), TA_LOC)
#define ta_memdup(...) ta_dbg_set_loc(ta_memdup(__VA_ARGS__), TA_LOC)
+#define ta_xmemdup(...) ta_dbg_set_loc(ta_xmemdup(__VA_ARGS__), TA_LOC)
+#define ta_xrealloc_size(...) ta_dbg_set_loc(ta_xrealloc_size(__VA_ARGS__), TA_LOC)
#endif
void ta_oom_b(bool b);