mirror of
https://github.com/fluencelabs/redis
synced 2025-06-15 10:11:21 +00:00
TODO list modified, trivial change to source code
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user