summaryrefslogtreecommitdiff
path: root/src/lib/clouseau_debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/clouseau_debug.c')
-rw-r--r--src/lib/clouseau_debug.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/clouseau_debug.c b/src/lib/clouseau_debug.c
index 0307451..8d41ca5 100644
--- a/src/lib/clouseau_debug.c
+++ b/src/lib/clouseau_debug.c
@@ -777,16 +777,16 @@ _obj_info_req_cb(Eina_Debug_Session *session, int srcid, void *buffer, int size
777 Eina_Iterator *inherits_itr; 777 Eina_Iterator *inherits_itr;
778 778
779 parent = eolian_class_parent_get(kl); 779 parent = eolian_class_parent_get(kl);
780 if (!eina_list_data_find(list, parent)) 780 if (parent && !eina_list_data_find(list, parent))
781 list2 = eina_list_append(list, parent); 781 list2 = eina_list_append(list, parent);
782 782
783 inherits_itr = eolian_class_extensions_get(kl); 783 inherits_itr = eolian_class_extensions_get(kl);
784 size_curr += _class_buffer_fill(buf + size_curr, obj, kl); 784 size_curr += _class_buffer_fill(obj, kl, buf + size_curr);
785 785
786 EINA_ITERATOR_FOREACH(inherits_itr, inherit) 786 EINA_ITERATOR_FOREACH(inherits_itr, inherit)
787 { 787 {
788 /* Avoid duplicates in MRO list. */ 788 /* Avoid duplicates in MRO list. */
789 if (!eina_list_data_find(list, inherit)) 789 if (inherit && !eina_list_data_find(list, inherit))
790 list2 = eina_list_append(list, inherit); 790 list2 = eina_list_append(list, inherit);
791 } 791 }
792 eina_iterator_free(inherits_itr); 792 eina_iterator_free(inherits_itr);