Our tool Pinpoint has found a memory leak defect in memcachd.c. Here is the screenshot of this defect.
The memory allocated on line 5958 is pointed by the pointer list. On line 5974, when e==Null, the program takes the true branch and returned to its caller without freeing the memory pointed by list.
Suggest Fix:
free(list) on line 5975.


Gang
Sourcebrella & HKUST