Minor
This commit is contained in:
parent
1827dc208c
commit
a5e39fed85
@ -38,6 +38,8 @@ struct _hb_set_t
|
||||
inline void init (void) {
|
||||
clear ();
|
||||
}
|
||||
inline void fini (void) {
|
||||
}
|
||||
inline void clear (void) {
|
||||
memset (elts, 0, sizeof elts);
|
||||
}
|
||||
|
@ -67,6 +67,8 @@ hb_set_destroy (hb_set_t *set)
|
||||
{
|
||||
if (!hb_object_destroy (set)) return;
|
||||
|
||||
set->fini ();
|
||||
|
||||
free (set);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user