mirror of https://github.com/sipwise/mediator.git
medredis_fetch_records() allocates memory for 0 return records, which in
the calling code is understood as "no memory has been allocated",
leading to a slow leak. Returning early is correct as the mem block
pointer is set to NULL in this case.
Change-Id: I69a2d397edd15cb9e4033531a218658c7ca93b12
(cherry picked from commit 96e59f70f5)
changes/75/35775/1
parent
edba8e9fb0
commit
3970a8a58e
Loading…
Reference in new issue