]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
Leaktest: store longer allocation origins.
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 24 Nov 2015 14:58:00 +0000 (14:58 +0000)
committerRudolf Polzer <divverent@xonotic.org>
Thu, 26 Nov 2015 14:03:23 +0000 (15:03 +0100)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12234 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=68f4284502b457f898002b3b048872ba837be1a4

prvm_edict.c

index 7dcf6daa39b6045760c2a311b153a30438ea920e..6f29526cf80558ddd1e886dfb80c6078ea04edeb 100644 (file)
@@ -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;
 }