findmnt: fix leak

Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2011-05-10 10:39:14 +02:00
parent 6ea1bdd32c
commit d783ee0be0
1 changed files with 1 additions and 1 deletions

View File

@ -311,7 +311,7 @@ static const char *get_data(struct libmnt_fs *fs, int num)
str = mnt_fs_get_fstype(fs);
break;
case COL_OPTIONS:
str = mnt_fs_strdup_options(fs);
str = mnt_fs_get_options(fs);
break;
case COL_VFS_OPTIONS:
str = mnt_fs_get_vfs_options(fs);