• A
    Fix decrRefCount() prototype from void to robj pointer. · 8766e810
    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.
    8766e810
t_list.c 39.1 KB