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/77/35777/1
parent
49dff7fc08
commit
229c651152
Loading…
Reference in new issue