• A
    Fix decrRefCount() prototype from void to robj pointer. · 2825f21f
    antirez 提交于
    decrRefCount used to get its argument as a void* pointer in order to be
    used as destructor where a 'void free_object(void*)' prototype is
    expected. However this made simpler to introduce bugs by freeing the
    wrong pointer. This commit fixes the argument type and introduces a new
    wrapper called decrRefCountVoid() that can be used when the void*
    argument is needed.
    2825f21f
aof.c 44.7 KB