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/74/35774/1
parent
5eae600eb5
commit
4e0870bfec
Loading…
Reference in new issue