This might as well be inside the if's {...} - for all that free(NULL) is a safe no-op, we have to test execd_config anyway, so we may as well save ourselves a function-call when it's pointless.