Signed-off-by: Karel Zak <kzak@redhat.com>
{
int rc = 0;
struct libmnt_table *tb;
- struct libmnt_iter *itr;
+ struct libmnt_iter *itr = NULL;
struct libmnt_fs *fs;
struct libmnt_cache *cache = NULL;
* @cxt: mount context
* @tb: returns mtab
*
- * See also mnt_table_parse_mtab() for more details about mtab/mountinfo.
+ * See also mnt_table_parse_mtab() for more details about mtab/mountinfo. The
+ * result will deallocated by mnt_free_context(@cxt).
*
* Returns: 0 on success, negative number in case of error.
*/