Skip to content

Commit d2d060c

Browse files
committed
Fix memory leak in httpConnectAgain.
1 parent 2bb1ad1 commit d2d060c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

cups/http.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -471,6 +471,8 @@ httpConnectAgain(http_t *http, // I - HTTP connection
471471

472472
return (false);
473473
}
474+
475+
free(new_creds);
474476
}
475477

476478
free(orig_creds);

0 commit comments

Comments
 (0)