libsmack: close smackfs_mnt_dirfd in the library destructor
authorJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Tue, 28 Jan 2014 06:30:39 +0000 (08:30 +0200)
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Tue, 28 Jan 2014 06:30:39 +0000 (08:30 +0200)
commitf37d5e2439038ca05e34a0636396f9584c0e9f1e
tree21f2f73ea85967a43f940fb0a1bcfbb6809d6fa4
parentd4d8cfa3759c0e176b9f0129f145714e09c7f62d
libsmack: close smackfs_mnt_dirfd in the library destructor

Close smackfs_mnt_dirfd in the library destructor. Although kernel
would wipe it anyway it is a good practice to clean up all the
reserved resources.

Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
libsmack/init.c