diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/firejail/fs_bin.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/firejail/fs_bin.c b/src/firejail/fs_bin.c index 8c1fd8e81..ac731c246 100644 --- a/src/firejail/fs_bin.c +++ b/src/firejail/fs_bin.c | |||
@@ -57,11 +57,13 @@ static char *check_dir_or_file(const char *name) { | |||
57 | if (ptr && strlen(ptr) == strlen("/firejail")) { | 57 | if (ptr && strlen(ptr) == strlen("/firejail")) { |
58 | if (arg_debug) | 58 | if (arg_debug) |
59 | printf("firejail exec symlink detected\n"); | 59 | printf("firejail exec symlink detected\n"); |
60 | free(actual_path); | ||
60 | free(fname); | 61 | free(fname); |
61 | fname = NULL; | 62 | fname = NULL; |
62 | i++; | 63 | i++; |
63 | continue; | 64 | continue; |
64 | } | 65 | } |
66 | free(actual_path); | ||
65 | } | 67 | } |
66 | 68 | ||
67 | } | 69 | } |