From 42ffd08cfd9390ace6b122f37bbda9e35bee8fb8 Mon Sep 17 00:00:00 2001 From: KimJeongYeon Date: Wed, 6 Jan 2016 17:28:11 +0900 Subject: [PATCH] module-tunnel: Fix double free Local pointer 'dn' freed again when pa_thread_new() failed. Signed-off-by: KimJeongYeon --- src/modules/module-tunnel.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modules/module-tunnel.c b/src/modules/module-tunnel.c index 833423a..deab905 100644 --- a/src/modules/module-tunnel.c +++ b/src/modules/module-tunnel.c @@ -2201,6 +2201,7 @@ int pa__init(pa_module*m) { #endif pa_xfree(dn); + dn = NULL; u->time_event = NULL; -- 1.7.9.5