Skip to content

Commit

Permalink
Merge pull request #311 from jelu/sonar
Browse files Browse the repository at this point in the history
Sonar
  • Loading branch information
jelu authored Aug 22, 2024
2 parents 8bb338b + c4d3634 commit 250babb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/config_hooks.c
Original file line number Diff line number Diff line change
Expand Up @@ -637,6 +637,7 @@ int load_knowntlds(const char* file)

if (!(new_KnownTLDS = xrealloc(new_KnownTLDS, (new_size + 1) * sizeof(char*)))) {
dsyslog(LOG_ERR, "out of memory");
fclose(fp);
return 0;
}
new_KnownTLDS[new_size] = ".";
Expand Down

0 comments on commit 250babb

Please sign in to comment.