[Privoxy-commits] [privoxy] 09/19: change_encrypted_request_destination(): Plug a memory leak if the rewritten request line is invalid
    User Git 
    git at git.privoxy.org
       
    Sun Jan 10 15:50:48 UTC 2021
    
    
  
This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository privoxy.
commit db72b72119d1c7cdf17ffca8a21504ed03e36e90
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Thu Jan 7 15:30:59 2021 +0100
    change_encrypted_request_destination(): Plug a memory leak if the rewritten request line is invalid
---
 jcc.c | 1 +
 1 file changed, 1 insertion(+)
diff --git a/jcc.c b/jcc.c
index 75459e8e..930c2991 100644
--- a/jcc.c
+++ b/jcc.c
@@ -2566,6 +2566,7 @@ static jb_err change_encrypted_request_destination(struct client_state *csp)
    {
       log_error(LOG_LEVEL_ERROR, "Couldn't parse rewritten request: %s.",
          jb_err_to_string(err));
+      freez(original_host);
       return err;
    }
 
-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
    
    
More information about the Privoxy-commits
mailing list