perf/urgent fix:
- Fix SEGFAULT when freeing unparsed lock prefixed instructions in 'perf annotate' (Arnaldo Carvalho de Melo) Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAABAgAGBQJU+KfeAAoJEBpxZoYYoA71dd4IAKoMogzWi1+8WG1EToXP7kRR XuAneJ110ssv86ut2UmZinHiOWud1sue2mRpN6P9x2TJHBQRmfvMUydJKmdXR1Je 4yoUWacLbCj4D+gBAlLh2bR+RMZK4TVpQt9TZSYzuaOzDkfWhnTpHAxYw3+m+X/v AC9XbRo1F6rg2OP64ukyWw0wgph308Fqgz5PJRKFUe00DAxAxT3vBaFc2yrgOuJZ tFRUgEPb6gaFMlZGdZr3rfS4MPKF8uva4Nuj/+pUsBmE12vJspSb53MxbNrbU/oU 2QCbx+KIOe/rpd29kYQjuTr2lm3YCHyF6ePZYAoG3qF+rO9bqjPdEisYGBTW3BU= =zHDD -----END PGP SIGNATURE----- Merge tag 'perf-urgent-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/urgent Pull perf/urgent fix from Arnaldo Carvalho de Melo: " - Fix SEGFAULT when freeing unparsed lock prefixed instructions in 'perf annotate' (Arnaldo Carvalho de Melo)" Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: Ingo Molnar <mingo@kernel.org>
This commit is contained in:
commit
e678fefa07
|
@ -30,6 +30,8 @@ static int disasm_line__parse(char *line, char **namep, char **rawp);
|
|||
|
||||
static void ins__delete(struct ins_operands *ops)
|
||||
{
|
||||
if (ops == NULL)
|
||||
return;
|
||||
zfree(&ops->source.raw);
|
||||
zfree(&ops->source.name);
|
||||
zfree(&ops->target.raw);
|
||||
|
|
Loading…
Reference in New Issue