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/69/35769/2
parent
7fffed14db
commit
96e59f70f5
Loading…
Reference in new issue