From 0ad2405d69a6dc482d09978238d27c54347c7c26 Mon Sep 17 00:00:00 2001 From: "kr.angelov" Date: Thu, 25 Oct 2012 18:37:22 +0000 Subject: [PATCH] forgot to add one #ifdef --- src/runtime/c/pgf/parser.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/runtime/c/pgf/parser.c b/src/runtime/c/pgf/parser.c index 5a3d91bd4..c9a0234a6 100644 --- a/src/runtime/c/pgf/parser.c +++ b/src/runtime/c/pgf/parser.c @@ -675,10 +675,12 @@ pgf_item_copy(PgfItem* item, GuPool* pool, PgfParsing* ps) } memcpy(copy, item, sizeof(PgfItem)); +#ifdef PGF_COUNTS_DEBUG if (ps != NULL) { ps->item_count++; ps->real_count++; } +#endif item->conts->ref_count++;