From eb4a25ba12a6d1ae9f4c4b78e34ccae7a09b3f58 Mon Sep 17 00:00:00 2001 From: David Rose Date: Sat, 1 Nov 2003 00:43:50 +0000 Subject: [PATCH] don't release reference count of dest_child --- panda/src/char/character.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panda/src/char/character.cxx b/panda/src/char/character.cxx index f01166665f..4cf0e1a0a2 100644 --- a/panda/src/char/character.cxx +++ b/panda/src/char/character.cxx @@ -308,7 +308,7 @@ r_copy_char(PandaNode *dest, const PandaNode *source, const PandaNode *source_child = source->get_child(i); int source_sort = source->get_child_sort(i); - PandaNode *dest_child; + PT(PandaNode) dest_child; if (source_child->is_of_type(Character::get_class_type())) { // We make a special case for nodes of type Character. If we // encounter one of these, we have a Character under a