Changeset 8a6ba94 in mainline
- Timestamp:
- 2011-08-21T13:02:27Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f90eb75
- Parents:
- d1e196f7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/compl.c
rd1e196f7 r8a6ba94 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.