From: David Goulet Date: Thu, 3 Apr 2014 17:14:00 +0000 (-0400) Subject: Fix: don't delete stream from connection recv list X-Git-Tag: v2.5.0-rc1~76 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=1dc0526df43f2b5f86ef451e4c0331445346b15f;hp=1dc0526df43f2b5f86ef451e4c0331445346b15f Fix: don't delete stream from connection recv list We don't need to delete them from the list during a connection destroy because it's only a reference to the stream that might be valid or not during the connection destroy. There is no need at all to access the stream's pointer at that point. Commit cd2ef1ef1d54ced9e4d0d03b865bb7fc6a905f80 did not fixed the full issue so this should fix the use after free race for good. Signed-off-by: David Goulet ---