[OpenSIPS-Devel] [OpenSIPS/opensips] 4fa4ec: uri: fix memory leak generated by uri_param()
    Răzvan Crainea 
    noreply at github.com
       
    Thu Mar 18 10:44:41 EST 2021
    
    
  
  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 4fa4ec317e99d7d7bb7ff3178aebdd3b2638fd11
      https://github.com/OpenSIPS/opensips/commit/4fa4ec317e99d7d7bb7ff3178aebdd3b2638fd11
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2021-03-18 (Thu, 18 Mar 2021)
  Changed paths:
    M modules/uri/checks.c
  Log Message:
  -----------
  uri: fix memory leak generated by uri_param()
The `params` list was changing while iterating through params, thus at
the end of the function, the first parameters within the list whould
have leaked. This commit fixes the leak
    
    
More information about the Devel
mailing list