mirror of https://github.com/sipwise/rtpengine.git
In case when parsing fails in `redis_ep_parse()` and it returns -1, we never de-allocate the actually duplicated strings before (using `g_strdup()`). For example with redis subscribe, where we have a fallback, will leak and overwrite previous allocations. So just free what's been allocated on the failure case. Change-Id: I340f8998de9de80342f293c669719bea7c3a2a97mr26.1
parent
b659b2371f
commit
df32af138f
Loading…
Reference in new issue