diff options
Diffstat (limited to 'src/firejail/profile.c')
-rw-r--r-- | src/firejail/profile.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/firejail/profile.c b/src/firejail/profile.c index 60f3f86ee..606378908 100644 --- a/src/firejail/profile.c +++ b/src/firejail/profile.c | |||
@@ -93,9 +93,6 @@ void profile_add_ignore(const char *str) { | |||
93 | fprintf(stderr, "Error: invalid ignore option\n"); | 93 | fprintf(stderr, "Error: invalid ignore option\n"); |
94 | exit(1); | 94 | exit(1); |
95 | } | 95 | } |
96 | char *ptr = strdup(str); | ||
97 | if (!ptr) | ||
98 | errExit("strdup"); | ||
99 | 96 | ||
100 | // find an empty entry in profile_ignore array | 97 | // find an empty entry in profile_ignore array |
101 | int i; | 98 | int i; |