Changes in uspace/app/bdsh/compl.c [10ef47ba:3e6a98c5] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/compl.c
r10ef47ba r3e6a98c5 209 209 *cstart += rpath_sep + 1 - prefix; 210 210 free(prefix); 211 prefix = NULL;212 211 213 212 cs->path_list = malloc(sizeof(char *) * 2); … … 253 252 } 254 253 255 if ( (cs != NULL) && (cs->prefix != NULL))254 if (cs != NULL && cs->prefix != NULL) 256 255 free(cs->prefix); 257 258 256 if (dirname != NULL) 259 257 free(dirname); 260 261 258 if (prefix != NULL) 262 259 free(prefix); 263 264 260 if (stext != NULL) 265 261 free(stext); 266 267 262 if (cs != NULL) 268 263 free(cs); 269 270 264 if (tokens != NULL) 271 265 free(tokens);
Note:
See TracChangeset
for help on using the changeset viewer.