forked from enlightenment/efl
efl: more valgrind related fixes on eina_cow
SVN revision: 83311
This commit is contained in:
parent
08b96ebc1c
commit
fb3c280a95
|
@ -341,12 +341,12 @@ eina_cow_free(Eina_Cow *cow, const Eina_Cow_Data *data)
|
|||
VALGRIND_MAKE_MEM_DEFINED(ref, sizeof (ref));
|
||||
#endif
|
||||
ref->refcount--;
|
||||
|
||||
if (ref->refcount > 0) return ;
|
||||
#ifndef NVALGRIND
|
||||
VALGRIND_MAKE_MEM_NOACCESS(ref, sizeof (ref));
|
||||
#endif
|
||||
|
||||
if (ref->refcount > 0) return ;
|
||||
|
||||
#ifndef NVALGRIND
|
||||
VALGRIND_MAKE_MEM_DEFINED(ref, sizeof (ref));
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue