Fix memory leak ocurring when a plugin accesses to config key repeatedly.