diff options
| author | Arvind Yadav <[email protected]> | 2018-03-08 11:53:24 +0530 |
|---|---|---|
| committer | Kalle Valo <[email protected]> | 2018-03-13 18:48:29 +0200 |
| commit | a24853aab59184ebd19c5e078c7b29e1c316e3a1 (patch) | |
| tree | 4adce983a40d50df07b65b05bf70ed63fa71fc15 /tools/perf/scripts/python/call-graph-from-sql.py | |
| parent | 79ca239a68f8f006ed872a023d97fbadf9d1577d (diff) | |
ssb: use put_device() if device_register fail
Never directly free @dev after calling device_register(), even
if it returned an error! Always use put_device() to give up the
reference initialized.
Signed-off-by: Arvind Yadav <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions