perf tools: Fix memory leak on error
cppcheck reported: [util/event.c:480]: (error) Memory leak: event Signed-off-by: NThomas Jarosch <thomas.jarosch@intra2net.com> Link: http://lkml.kernel.org/r/2717013.8dV0naNhAV@stormSigned-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
Showing
想要评论请 注册 或 登录