summaryrefslogtreecommitdiffstats
path: root/block/cfq-iosched.c
diff options
context:
space:
mode:
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>2014-06-06 23:17:28 -0400
committerSteven Rostedt <rostedt@goodmis.org>2014-06-06 23:17:28 -0400
commita9fcaaac37b3baba1343f906f52aeb65c4d4e356 (patch)
treeb0fb182c483b2737f410a50588a7158288b4dd27 /block/cfq-iosched.c
parent23aaa3c18e33fe048671b419781b5e44175efafe (diff)
downloadlinux-a9fcaaac37b3baba1343f906f52aeb65c4d4e356.tar.gz
linux-a9fcaaac37b3baba1343f906f52aeb65c4d4e356.tar.bz2
linux-a9fcaaac37b3baba1343f906f52aeb65c4d4e356.zip
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 <rostedt@goodmis.org>
Diffstat (limited to 'block/cfq-iosched.c')
0 files changed, 0 insertions, 0 deletions