Signed-off-by: Petr Uzel <petr.uzel@xxxxxxx> --- shlibs/mount/src/context.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/shlibs/mount/src/context.c b/shlibs/mount/src/context.c index dba4943..ee6e225 100644 --- a/shlibs/mount/src/context.c +++ b/shlibs/mount/src/context.c @@ -1054,6 +1054,7 @@ int mnt_context_prepare_target(struct libmnt_context *cxt) char *path = mnt_resolve_path(tgt, cache); if (strcmp(path, tgt)) rc = mnt_fs_set_target(cxt->fs, path); + free(path); } if (rc) -- 1.7.3.4 Petr -- Petr Uzel IRC: ptr_uzl @ freenode
Attachment:
pgpqzn2pWLo7p.pgp
Description: PGP signature