From 68f4284502b457f898002b3b048872ba837be1a4 Mon Sep 17 00:00:00 2001 From: divverent Date: Tue, 24 Nov 2015 14:58:00 +0000 Subject: [PATCH] Leaktest: store longer allocation origins. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12234 d7cf8633-e32d-0410-b094-e92efae38249 --- prvm_edict.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/prvm_edict.c b/prvm_edict.c index 7dcf6daa..6f29526c 100644 --- a/prvm_edict.c +++ b/prvm_edict.c @@ -215,8 +215,8 @@ const char *PRVM_AllocationOrigin(prvm_prog_t *prog) if(prog->leaktest_active) if(prog->depth > 0) // actually in QC code and not just parsing the entities block of a map/savegame { - buf = (char *)PRVM_Alloc(128); - PRVM_ShortStackTrace(prog, buf, 128); + buf = (char *)PRVM_Alloc(256); + PRVM_ShortStackTrace(prog, buf, 256); } return buf; } -- 2.39.2