[Tarantool-patches] [PATCH v21 3/6] box/module_cache: introduce modules subsystem

Cyrill Gorcunov gorcunov at gmail.com
Sat Apr 10 17:59:34 MSK 2021


On Sat, Apr 10, 2021 at 01:54:43AM +0200, Vladislav Shpilevoy wrote:
> > +void
> > +module_free(void)
> > +{
> > +	while (mh_size(module_cache) > 0) {
> > +		mh_int_t e = mh_first(module_cache);
> > +		mh_strnptr_del(module_cache, e, NULL);
> 
> Is this loop really needed? It seems the mhash delete()
> frees all the memory anyway.

Thanks, Vlad! Ineed this is not needed. I force-pushed an update.


More information about the Tarantool-patches mailing list