TT#14008 avoid double free on shutdown

Change-Id: I30ca16313ee8039b51797b60955265fb4a7545a1
pull/1093/head
Richard Fuchs 5 years ago
parent 3893069fae
commit bbc6aa9dac

@ -1073,7 +1073,8 @@ int main(int argc, char **argv) {
control_ng_cleanup();
redis_close(rtpe_redis);
redis_close(rtpe_redis_write);
if (rtpe_redis_write != rtpe_redis)
redis_close(rtpe_redis_write);
redis_close(rtpe_redis_notify);
free_prefix();

Loading…
Cancel
Save