Skip to content

Commit

Permalink
Remove check for hostname when freeing
Browse files Browse the repository at this point in the history
  • Loading branch information
zdohnal committed Mar 14, 2024
1 parent 0069c33 commit a2224e9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pappl/system.c
Original file line number Diff line number Diff line change
Expand Up @@ -300,8 +300,7 @@ papplSystemDelete(
free(system->uuid);
free(system->name);
free(system->dns_sd_name);
if (system->hostname)
free(system->hostname);
free(system->hostname);
free(system->domain_path);
free(system->server_header);
free(system->directory);
Expand Down

0 comments on commit a2224e9

Please sign in to comment.