From: Steven Rostedt (Red Hat) Date: Sat, 7 Jun 2014 03:17:28 +0000 (-0400) Subject: tracing: Fix memory leak on instance deletion X-Git-Tag: omap-for-v3.16/fixes-against-rc1~80^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9fcaaac37b3baba1343f906f52aeb65c4d4e356;p=pandora-kernel.git tracing: Fix memory leak on instance deletion When an instance is created, it also gets a snapshot ring buffer allocated (with minimum of pages). But when it is deleted the snapshot buffer is not. There was a helper function added to match the allocation of these ring buffers to a way to free them, but it wasn't used by the deletion of an instance. Using that helper function solves this memory leak. Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed