• Justin Brewer's avatar
    Remove redundant NULL checks · 58e6b87f
    Justin Brewer authored
    
    
    free(NULL) is a valid NOP. Most of the hiredis free functions behave the
    same way. redisReaderFree is updated to also be NULL-safe.
    
    There is one redundant NULL check at sds.c:1036, but it's left as is
    since sds is imported from upstream.
    Signed-off-by: default avatarJustin Brewer <jzb0012@auburn.edu>
    58e6b87f
hiredis.c 28.2 KB