]> 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)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 24 Nov 2015 14:58:00 +0000 (14:58 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12234 d7cf8633-e32d-0410-b094-e92efae38249

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;
 }