Config_db set/get is not working properly

In reply to cgales:

i have question! with out allocation how it will understand the set/get ?