Changeset 511:17435072de36 in freeDiameter for extensions/app_diameap/diameap.y
- Timestamp:
- Aug 20, 2010, 3:18:58 PM (14 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/app_diameap/diameap.y
r425 r511 134 134 if ((fl == NULL) && (*cfile != '/')) { 135 135 char * tmp = cfile; 136 CHECK_MALLOC_DO( cfile = malloc( strlen(tmp) + strlen(DEFAULT_ EXTENSIONS_PATH) + 2 ),136 CHECK_MALLOC_DO( cfile = malloc( strlen(tmp) + strlen(DEFAULT_CONF_PATH) + 2 ), 137 137 { yyerror (&yylloc, config, "Not enough memory"); YYERROR; } ); 138 sprintf(cfile, DEFAULT_ EXTENSIONS_PATH "/%s", tmp);138 sprintf(cfile, DEFAULT_CONF_PATH "/%s", tmp); 139 139 free(tmp); 140 140 fl = fopen(cfile, "r");
Note: See TracChangeset
for help on using the changeset viewer.