diff --git a/Makefile b/Makefile index 91e1fd24..2420c535 100644 --- a/Makefile +++ b/Makefile @@ -121,8 +121,10 @@ $(APP_OBJS): CFLAGS += \ -Ideps/xopt \ -Wdouble-promotion \ -Werror +ifeq ($(UNAME_M),x86_64) $(filter-out $(BUILD_DIR)/android%,$(APP_OBJS)): CFLAGS += \ -fanalyzer +endif BLOWFISH_SOURCES := \ deps/crypt_blowfish/crypt_blowfish.c \ diff --git a/src/main.c b/src/main.c index b1dece98..bc70f00e 100644 --- a/src/main.c +++ b/src/main.c @@ -200,10 +200,6 @@ static int _tf_command_import(const char* file, int argc, char* argv[]) if (err) { fprintf(stderr, "Error: %s\n", err); - if (extras) - { - free((void*)extras); - } return 2; }