TODO list modified, trivial change to source code

This commit is contained in:
antirez
2010-07-16 23:56:18 +02:00
parent 5b4bff9c17
commit 2cffe2993b
2 changed files with 8 additions and 4 deletions

View File

@ -11,8 +11,7 @@ robj *createObject(int type, void *ptr) {
listDelNode(server.objfreelist,head);
if (server.vm_enabled) pthread_mutex_unlock(&server.obj_freelist_mutex);
} else {
if (server.vm_enabled)
pthread_mutex_unlock(&server.obj_freelist_mutex);
if (server.vm_enabled) pthread_mutex_unlock(&server.obj_freelist_mutex);
o = zmalloc(sizeof(*o));
}
o->type = type;