Commit 52480acb authored by jan.koester's avatar jan.koester
Browse files

fixed mem leak

parent cb3f5791
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -36,7 +36,7 @@

blogi::RedisStore::RedisStore(const char *host,int port,const char *password,int timeout,int threads){
    _Threads=threads;
    _RedisCTX=new struct redisContext*[_Threads];
    _RedisCTX=new struct redisContext*[_Threads+1];
    for(int i = 0; i<=_Threads; ++i){

        struct timeval tv={0,timeout};