Following @mattsta's friendly review:
  1. memory leak in t_set.c has been fixed
  2. end-of-line spaces has been removed (from all over the place)
  3. for loops have been ordered up to match existing Redis style (less weird)
  4. comments format has been fixed (added * in the beggining of every comment line)
Fixed memory leaks in rdbSaveToSlavesSockets()
Merge pull request #2229 from advance512/spopWithCount

Memory leak fixes (+ code style fixes)