Fix memory leak in VMS's readdir().
authorCraig A. Berry <craigberry@mac.com>
Sat, 1 Dec 2012 03:20:47 +0000 (21:20 -0600)
committerCraig A. Berry <craigberry@mac.com>
Sat, 1 Dec 2012 03:46:45 +0000 (21:46 -0600)
commit66facaa366b2bb9328ac16455b0b17db621a069d
tree4e37ad93980a0919b3fe50880ea89929142938f3
parent2abb04977db87a1e49b7f84f7caf49109ee47b22
Fix memory leak in VMS's readdir().

When we got to the end of a directory we were not freeing the
buffer we'd been using.  So refactor that section of code to have
only one return.  Bug introduced in 657054d4f860463a01c5.
vms/vms.c