Remove RDB AUX memory leaks

This commit is contained in:
Matt Stancliff 2015-01-08 16:23:48 -05:00
parent 36a3b75355
commit eb7d67a3ab

View File

@ -1324,8 +1324,8 @@ int rdbLoad(char *filename) {
auxkey->ptr);
}
zfree(auxkey);
zfree(auxval);
decrRefCount(auxkey);
decrRefCount(auxval);
continue; /* Read type again. */
}