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: I69a2d397edd15cb9e4033531a218658c7ca93b12changes/71/35771/1
parent
1aad65b82d
commit
740a003e88
Loading…
Reference in new issue