the _f getXXX functions free the memory allocated for _name before they return normally! */
| 726 | |
| 727 | /* the _f getXXX functions free the memory allocated for _name before they return normally! */ |
| 728 | const char * getStr_f(char *_name, int *isSet=NULL) const { /* return value is read only! */ |
| 729 | const char *s = getStr(_name, isSet); |
| 730 | if (_name != NULL) free(_name); |
| 731 | return s; |
| 732 | } |
| 733 | |
| 734 | const char getChar(const char *_name, int *isSet=NULL) const { |
| 735 | const ConfigValue *v = getValue(_name); |