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:
0af34dd
)
eolian: consider @by_ref marked elements ownable
author
Daniel Kolesa
<d.kolesa@samsung.com>
Tue, 10 Sep 2019 12:10:10 +0000
(14:10 +0200)
committer
Yeongjong Lee
<yj34.lee@samsung.com>
Mon, 16 Sep 2019 01:23:00 +0000
(10:23 +0900)
src/lib/eolian/database_validate.c
patch
|
blob
|
history
diff --git
a/src/lib/eolian/database_validate.c
b/src/lib/eolian/database_validate.c
index
aa09766
..
9890bc5
100644
(file)
--- a/
src/lib/eolian/database_validate.c
+++ b/
src/lib/eolian/database_validate.c
@@
-230,8
+230,8
@@
_validate_by_ref(Eolian_Type *tp, Eina_Bool by_ref, Eina_Bool move)
if (tp->btype == EOLIAN_TYPE_BUILTIN_FUTURE)
return EINA_TRUE;
- /* not marked @move; just validate */
- if (!move)
+ /* not marked @move
, or marked @by_ref
; just validate */
+ if (!move
|| by_ref
)
return EINA_TRUE;
/* marked @move, not pointer-like or otherwise ownable, error */