[OpenSIPS-Devel] [OpenSIPS/opensips] 38db49: cfgutils: fix check_time_rec() leak
Răzvan Crainea
noreply at github.com
Wed Jan 15 03:43:18 EST 2020
Branch: refs/heads/3.0
Home: https://github.com/OpenSIPS/opensips
Commit: 38db49b135007f1bff20a89d0d018eabd10ffd65
https://github.com/OpenSIPS/opensips/commit/38db49b135007f1bff20a89d0d018eabd10ffd65
Author: Razvan Crainea <razvan at opensips.org>
Date: 2020-01-15 (Wed, 15 Jan 2020)
Changed paths:
M modules/cfgutils/cfgutils.c
Log Message:
-----------
cfgutils: fix check_time_rec() leak
1. The timerec should be allocated in pkg memory, there's no reason why
it should be shared
2. After checking the timerec, the function needs to release the memory
More information about the Devel
mailing list