]> git.ipfire.org Git - thirdparty/util-linux.git/commit
sysfs: free used resources
authorDavidlohr Bueso <dave@gnu.org>
Sun, 24 Jul 2011 15:22:52 +0000 (11:22 -0400)
committerKarel Zak <kzak@redhat.com>
Tue, 26 Jul 2011 09:58:38 +0000 (11:58 +0200)
commitfb4a9e54fc937d5e182f64ae2d0b09a1e05a3d1b
tree195f2fe1363f5881275110a00438121774ef6126
parent94947a1971b5dbdf1414eb5356b9b554cdbf4ab5
sysfs: free used resources

In the sysfs lib example, we should be using sysfs_deinit() to free used
resources and for correct usage.

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
lib/sysfs.c