Mercurial > MadButterfly
view include/mb_basic_types.h @ 768:13669b28826d
Fix issue of memory leaking for coord objects.
When coord.cc try to release memory of coords of a subtree, a typo
make the code always free root coord of the subtree. It causes a
leaking.
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Sun, 29 Aug 2010 17:20:13 +0800 |
parents | e813ac222f48 |
children | b42d69ab8857 586e50f82c1f |
line wrap: on
line source
#ifndef __MB_BASIC_TYPES_H_ #define __MB_BASIC_TYPES_H_ typedef float co_aix; typedef float co_comp_t; typedef struct _grad_stop { co_aix offset; co_comp_t r, g, b, a; } grad_stop_t; #endif /* __MB_BASIC_TYPES_H_ */