[OpenSIPS-Devel] [OpenSIPS/opensips] 855467: uri: fix memory leak generated by uri_param()
Răzvan Crainea
noreply at github.com
Thu Mar 18 10:47:42 EST 2021
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: 855467245a5f60dcd4b66bee709da354ce9cb622
https://github.com/OpenSIPS/opensips/commit/855467245a5f60dcd4b66bee709da354ce9cb622
Author: Razvan Crainea <razvan at opensips.org>
Date: 2021-03-18 (Thu, 18 Mar 2021)
Changed paths:
M modules/sipmsgops/uri.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