antirez/redis — pull request #2247 by sunheehnus (2014-12-30 14:28:00+00:00)
Title: aof.c/rewriteAppendOnlyFile:switch inside goto to werrReleaseDI

dictReleaseIterator() does not set di to NULL
So, the line `if (di) dictReleaseIterator(di);` may free the di twice, which may cause memory error.