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