[sr-dev] git:master:22bd6ca0: db_redis: Fix various pointer and memory issues