diff options
author | Robert Richter <robert.richter@amd.com> | 2011-11-25 11:38:40 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2011-12-12 08:44:00 -0200 |
commit | 38efb539c13f8f173e381435cdd40463ab5d38de (patch) | |
tree | bbb838b6a52b20965b197a01807392e50193f321 /sound/firewire/Makefile | |
parent | b3d9468a8bd218a695e3a0ff112cd4efd27b670a (diff) | |
download | blackbird-op-linux-38efb539c13f8f173e381435cdd40463ab5d38de.tar.gz blackbird-op-linux-38efb539c13f8f173e381435cdd40463ab5d38de.zip |
perf script: Fix mem leaks and NULL pointer checks around strdup()s
Fix mem leaks and missing NULL pointer checks after strdup().
And get_script_path() did not free __script_root in case of continue.
Introduce a helper function get_script_root().
Cc: Ingo Molnar <mingo@elte.hu>
Link: http://lkml.kernel.org/r/1322217520-3287-1-git-send-email-robert.richter@amd.com
Signed-off-by: Robert Richter <robert.richter@amd.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'sound/firewire/Makefile')
0 files changed, 0 insertions, 0 deletions