projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c9038c
)
evas vg: prevent dangling pointer.
15/209115/1
author
Hermet Park
<hermetpark@gmail.com>
Tue, 2 Jul 2019 08:58:19 +0000
(17:58 +0900)
committer
Hermet Park
<hermetpark@gmail.com>
Tue, 2 Jul 2019 08:58:19 +0000
(17:58 +0900)
@fix
Change-Id: I722d6827d5a0910437eaaa2de8692da994c52718
src/lib/evas/canvas/efl_canvas_vg_object.c
patch
|
blob
|
history
diff --git
a/src/lib/evas/canvas/efl_canvas_vg_object.c
b/src/lib/evas/canvas/efl_canvas_vg_object.c
index
2bbbc0d
..
1d93201
100644
(file)
--- a/
src/lib/evas/canvas/efl_canvas_vg_object.c
+++ b/
src/lib/evas/canvas/efl_canvas_vg_object.c
@@
-446,7
+446,11
@@
_evas_vg_render(Evas_Object_Protected_Data *obj, Efl_Canvas_Vg_Object_Data *pd,
free(cd->blend_pixels);
cd->blend_pixels = NULL;
}
- if (cd->blend_buffer) efl_unref(cd->blend_buffer);
+ if (cd->blend_buffer)
+ {
+ efl_unref(cd->blend_buffer);
+ cd->blend_buffer = NULL;
+ }
EINA_LIST_FOREACH(cd->children, l, child)
_evas_vg_render(obj, pd, engine, output, context, child, clips, w, h, ector, do_async);
}