Changeset 3570 in kBuild
- Timestamp:
- Jul 9, 2022 2:42:02 PM (3 years ago)
- Location:
- trunk/src/kash
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kash/generated/init.c
r3459 r3570 204 204 ckfree(psh, psh->memout.buf); 205 205 psh->memout.buf = NULL; 206 psh->memout.nextc = NULL; 206 207 } 207 208 } -
trunk/src/kash/output.c
r3438 r3570 91 91 ckfree(psh, psh->memout.buf); 92 92 psh->memout.buf = NULL; 93 psh->memout.nextc = NULL; 93 94 } 94 95 } … … 200 201 ckfree(psh, psh->output.buf); 201 202 psh->output.buf = NULL; 203 psh->output.nextc = NULL; 202 204 psh->output.nleft = 0; 203 205 } -
trunk/src/kash/shinstance.c
r3569 r3570 429 429 430 430 /* output.h */ 431 431 if (psh->output.buf != NULL) 432 432 { 433 433 ckfree(psh, psh->output.buf); 434 434 psh->output.buf = NULL; 435 436 435 } 436 if (psh->errout.buf != NULL) 437 437 { 438 438 ckfree(psh, psh->errout.buf); 439 439 psh->errout.buf = NULL; 440 441 440 } 441 if (psh->memout.buf != NULL) 442 442 { 443 443 ckfree(psh, psh->memout.buf); 444 444 psh->memout.buf = NULL; 445 445 } 446 446 447 447 /* options.h */
Note:
See TracChangeset
for help on using the changeset viewer.