Sync OpenBSD patchset 383:
Sync OpenBSD patchset 383:

There isn't much point in having a free function if it isn't used.

Also allow a NULL tree.


klaxalk/tmux,klaxalk/tmux,klaxalk/tmux,klaxalk/tmux,klaxalk/tmux