From 0ba24816329a0107fd79995ff4a6e06d4e5892f3 Mon Sep 17 00:00:00 2001 From: Brian Koropoff Date: Thu, 15 May 2003 21:59:19 +0000 Subject: [PATCH] Applied taniwha's mem leak fix. --- libs/gamecode/builtins/bi_gib.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/gamecode/builtins/bi_gib.c b/libs/gamecode/builtins/bi_gib.c index 4d680f084..e725f0310 100644 --- a/libs/gamecode/builtins/bi_gib.c +++ b/libs/gamecode/builtins/bi_gib.c @@ -93,6 +93,7 @@ bi_gib_builtin_f (void) P_INT (builtin->pr, 0) = GIB_Argc(); P_INT (builtin->pr, 1) = POINTER_TO_PROG (builtin->pr, pr_list); PR_ExecuteProgram (builtin->pr, builtin->func); + PR_Zone_Free (builtin->pr, pr_list); } static void