summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_object_textblock.c
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-12-11 19:00:15 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-12-11 19:00:15 +0900
commit5a9184b323fdf5902ffea183d1005f59bf96c5ba (patch)
tree4cdc50dd7fcb078ef21a390aa24945a6328d5c09 /src/lib/evas/canvas/evas_object_textblock.c
parenta42407c7b3adde20ae2770d294a7908cfe3e36aa (diff)
evas - textblock - fix dbg_info_get to avoid leak if root is NULL
fixes CID 1040007
Diffstat (limited to '')
-rw-r--r--src/lib/evas/canvas/evas_object_textblock.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/evas/canvas/evas_object_textblock.c b/src/lib/evas/canvas/evas_object_textblock.c
index f1c30184cd..0d38a51984 100644
--- a/src/lib/evas/canvas/evas_object_textblock.c
+++ b/src/lib/evas/canvas/evas_object_textblock.c
@@ -10611,6 +10611,7 @@ _dbg_info_get(Eo *eo_obj, void *_pd EINA_UNUSED, va_list *list)
10611{ 10611{
10612 Eo_Dbg_Info *root = (Eo_Dbg_Info *) va_arg(*list, Eo_Dbg_Info *); 10612 Eo_Dbg_Info *root = (Eo_Dbg_Info *) va_arg(*list, Eo_Dbg_Info *);
10613 eo_do_super(eo_obj, MY_CLASS, eo_dbg_info_get(root)); 10613 eo_do_super(eo_obj, MY_CLASS, eo_dbg_info_get(root));
10614 if (!root) return;
10614 Eo_Dbg_Info *group = EO_DBG_INFO_LIST_APPEND(root, MY_CLASS_NAME); 10615 Eo_Dbg_Info *group = EO_DBG_INFO_LIST_APPEND(root, MY_CLASS_NAME);
10615 Eo_Dbg_Info *node; 10616 Eo_Dbg_Info *node;
10616 10617