diff --git a/plugins/router_redis/router_redis.c b/plugins/router_redis/router_redis.c index 7f123244..fdf009d6 100644 --- a/plugins/router_redis/router_redis.c +++ b/plugins/router_redis/router_redis.c @@ -345,6 +345,7 @@ static int uwsgi_router_redis_store(struct uwsgi_route *ur, char *args) { if (!urrc->key || !urrc->addr) { uwsgi_log("invalid redisstore route syntax: you need to specify an address and a key\n"); + free(urrc); return -1; }