[PATCH 4.4 65/66] ftrace: Fix memleak when unregistering dynamic ops when tracing disabled

2017-09-24 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Steven Rostedt (VMware) commit edb096e00724f02db5f6ec7900f3bbd465c6c76f upstream. If function tracing is disabled by the user via the function-trace option or the proc

[PATCH 4.4 65/66] ftrace: Fix memleak when unregistering dynamic ops when tracing disabled

2017-09-24 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Steven Rostedt (VMware) commit edb096e00724f02db5f6ec7900f3bbd465c6c76f upstream. If function tracing is disabled by the user via the function-trace option or the proc sysctl file, and a