Changes in / [f90eb75:b48d046] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/compl.c
rf90eb75 rb48d046 98 98 int retval; 99 99 tokenizer_t tok; 100 token_t *tokens = calloc(WORD_MAX, sizeof(token_t)); 101 if (tokens == NULL) { 102 retval = ENOMEM; 103 goto error; 104 } 100 token_t tokens[WORD_MAX]; 105 101 int current_token; 106 102 size_t tokens_length; … … 258 254 if (cs != NULL) 259 255 free(cs); 260 if (tokens != NULL)261 free(tokens);262 256 263 257 return retval;
Note:
See TracChangeset
for help on using the changeset viewer.