search for: child_new

Displaying 1 result from an estimated 1 matches for "child_new".

Did you mean: child_end
2007 Nov 02
0
5 commits - libswfdec/swfdec_text_field.c libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c libswfdec/swfdec_xml.c libswfdec/swfdec_xml_node.c
...MPTY); + if (new == NULL) + return NULL; new->valid = TRUE; new->type = node->type; @@ -635,6 +637,8 @@ swfdec_xml_node_clone (SwfdecAsContext *cx, SwfdecXmlNode *node, gboolean deep) for (i = 0; i < num; i++) { child = swfdec_xml_node_get_child (node, i); child_new = swfdec_xml_node_clone (cx, child, TRUE); + if (child_new == NULL) + return NULL; child_new->parent = new; SWFDEC_AS_VALUE_SET_OBJECT (&val, SWFDEC_AS_OBJECT (child_new)); swfdec_as_array_push (new->children, &val); @@ -664,6 +668,9 @@ swfdec_xml_node_cloneN...