Changeset 72d120e in mainline for uspace/app/bdsh/compl.c
- Timestamp:
- 2014-06-16T20:17:44Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5a78e4e
- Parents:
- 9d653e3 (diff), 334bf28 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/compl.c
r9d653e3 r72d120e 209 209 *cstart += rpath_sep + 1 - prefix; 210 210 free(prefix); 211 prefix = NULL; 211 212 212 213 cs->path_list = malloc(sizeof(char *) * 2); … … 252 253 } 253 254 254 if ( cs != NULL && cs->prefix != NULL)255 if ((cs != NULL) && (cs->prefix != NULL)) 255 256 free(cs->prefix); 257 256 258 if (dirname != NULL) 257 259 free(dirname); 260 258 261 if (prefix != NULL) 259 262 free(prefix); 263 260 264 if (stext != NULL) 261 265 free(stext); 266 262 267 if (cs != NULL) 263 268 free(cs); 269 264 270 if (tokens != NULL) 265 271 free(tokens);
Note:
See TracChangeset
for help on using the changeset viewer.