projects
/
redis.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e09b518
)
same final call of two if branches moved outside
author
antirez
<antirez@gmail.com>
Tue, 8 Mar 2011 14:55:34 +0000
(15:55 +0100)
committer
antirez
<antirez@gmail.com>
Tue, 8 Mar 2011 14:55:34 +0000
(15:55 +0100)
src/dscache.c
patch
|
blob
|
blame
|
history
diff --git
a/src/dscache.c
b/src/dscache.c
index 66e6ee6360caacb700974d910e57c83f6514aeba..0448d2cb1457acd188dc4bbd3ac7d0ad278de298 100644
(file)
--- a/
src/dscache.c
+++ b/
src/dscache.c
@@
-383,11
+383,10
@@
void vmThreadedIOCompletedJob(aeEventLoop *el, int fd, void *privdata,
}
cacheScheduleIODelFlag(j->db,j->key,REDIS_IO_LOADINPROG);
handleClientsBlockedOnSwappedKey(j->db,j->key);
- freeIOJob(j);
} else if (j->type == REDIS_IOJOB_SAVE) {
cacheScheduleIODelFlag(j->db,j->key,REDIS_IO_SAVEINPROG);
- freeIOJob(j);
}
+ freeIOJob(j);
processed++;
if (privdata == NULL) cacheScheduleIOPushJobs(0);
if (processed == toprocess) return;