another missing free->zfree replacement fixed. Thanks to Ludo

This commit is contained in:
antirez
2009-03-23 14:50:09 +01:00
parent 5b19bd7238
commit 092dac2a64
4 changed files with 22 additions and 3 deletions

View File

@ -2619,7 +2619,7 @@ static void sortCommand(redisClient *c) {
/* Create a list of operations to perform for every sorted element.
* Operations can be GET/DEL/INCR/DECR */
operations = listCreate();
listSetFreeMethod(operations,free);
listSetFreeMethod(operations,zfree);
j = 2;
/* Now we need to protect sortval incrementing its count, in the future