Remove the "Ugly hack" that was the second use of dirfd().
authorJeremy Allison <jra@samba.org>
Wed, 10 Apr 2013 23:29:03 +0000 (16:29 -0700)
committerKarolin Seeger <kseeger@samba.org>
Mon, 17 Jun 2013 07:20:08 +0000 (09:20 +0200)
commit3be35705234d920a2afcca588e759aa9300b487c
tree3ffe7127b160ac10f7c864d9e1c65052bf06cac0
parent7b4d817d3ae7a06f30be07e42d5465f29009b39d
Remove the "Ugly hack" that was the second use of dirfd().

The destructor does all the resource deallocation needed.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 0fe894fb89f4867e266bb04670a58101311e0234)
(cherry picked from commit 8d96eb3666ce2e0f016068dfae60eb32ed2b518e)
source3/smbd/dir.c