From 600f27876ce79c5de094cca330328d58d379af8b Mon Sep 17 00:00:00 2001 From: Spoike Date: Wed, 8 Oct 2008 19:18:12 +0000 Subject: [PATCH] Fixed Z_FreeTags. Yes. Really. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3042 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/common/zone.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/common/zone.c b/engine/common/zone.c index e5e6995d8..bf8b5b05c 100644 --- a/engine/common/zone.c +++ b/engine/common/zone.c @@ -278,7 +278,7 @@ void VARGS Z_FreeTags(int tag) while (z->pvdn != NULL && z->pvdn->mh.tag != tag) z = z->pvdn; - if (z->next == NULL) + if (z->pvdn == NULL) taglist = NULL; else {