Update example.c

Added a call to redisFree()