From d12649781ef323ade456aec5b60889b8b179f551 Mon Sep 17 00:00:00 2001 From: szaka Date: Wed, 17 Jan 2007 20:55:30 +0000 Subject: [PATCH] fix a memory leak on an error path before exit --- src/ntfs-3g.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ntfs-3g.c b/src/ntfs-3g.c index ebc660a0..7063e0f1 100644 --- a/src/ntfs-3g.c +++ b/src/ntfs-3g.c @@ -2103,6 +2103,7 @@ int main(int argc, char *argv[]) if (stat(opts.device, &sbuf)) { ntfs_log_perror("Failed to access '%s'", opts.device); + free(parsed_options); ntfs_fuse_destroy(); return 7; }