commit fd691e588450a63fb7f3cde6b11a36eeb06a4369 from: Omar Polo date: Sun Aug 29 17:23:03 2021 UTC don't need to check if NULL for free commit - 0f272cb5335d4c0041eee6f6187f26f97666f249 commit + fd691e588450a63fb7f3cde6b11a36eeb06a4369 blob - d2bd6acfe1bc0344ee93bf183dd3ba777a2e23e3 blob + df4f57f1e4c07435d969629841ff24a2bac13589 --- defaults.c +++ defaults.c @@ -518,8 +518,7 @@ config_setvars(const char *var, char *val) free(download_path); download_path = val; } else if (!strcmp(var, "new-tab-url")) { - if (new_tab_url != NULL) - free(new_tab_url); + free(new_tab_url); new_tab_url = val; } else return 0;