There's a memory leak in clientCommand(redis-2.4.4):
:> 10000 client list
It is caused by getAllClientsInfoString() in networking.c:
960 o = sdscatsds(o,getClientInfoString(client));
the string returned by getClientInfoString() should be freed.
Fixed memleak in CLIENT INFO, added simple test that will work as reg…
…ression test on mac os x and in the CI when running over valgrind. This fixes issue #256
Fixed, thank you!