antirez/redis — pull request #955 by wallrat (2013-02-18 12:58:34+00:00)
Title: Handle 'SLAVEOF NO ONE' from master without segfaulting

Patch for issue #954

Changes slaveofCommand to set flag REDIS_CLOSE_AFTER_REPLY instead of freeing client
immediately when client is the replication master. Allows master to send 'SLAVEOF NO ONE'
without slave crashing with a segfault.