Skip to content

Commit

Permalink
Fix memory leak in httpConnectAgain.
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelrsweet committed Oct 15, 2024
1 parent 2bb1ad1 commit d2d060c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cups/http.c
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,8 @@ httpConnectAgain(http_t *http, // I - HTTP connection

return (false);
}

free(new_creds);
}

free(orig_creds);
Expand Down

0 comments on commit d2d060c

Please sign in to comment.