eric pouech (@epo) commented about programs/cmd/directory.c:
thisDir = tempDir; } }
/* Free remaining structures if we broke out of previous loop due to error. */
while (dirStack != NULL) {
this likely could be folded in code line 510, by inserting between 510 & 511:
if (return_code != NO_ERROR) dirStack = NULL;