]> err.no Git - util-linux/commit
libblkid: fix memory leak
authorIgor Bazhitov <igor.bazhitov@gmail.com>
Sat, 9 Oct 2010 18:54:31 +0000 (22:54 +0400)
committerKarel Zak <kzak@redhat.com>
Thu, 21 Oct 2010 07:45:05 +0000 (09:45 +0200)
commit784cb716b1aa15e615ee4814574e6ed03377a8d8
tree9ba5e36de05948fcf477879efd3484c46d75ef68
parent1ae90932bd46a56f05caee436b14c45e0b042345
libblkid: fix memory leak

search_type and search_handle fields of blkid_dev_iterate iterator are
not being freed after usage.
Add cleanup code.

Signed-off-by: Igor Bazhitov <igor.bazhitov@gmail.com>
shlibs/blkid/src/dev.c