diff options
| author | Bryant G. Ly <[email protected]> | 2017-07-14 13:11:04 +0000 |
|---|---|---|
| committer | Nicholas Bellinger <[email protected]> | 2017-07-30 22:23:21 +0000 |
| commit | ededd039d1b96035b23592c049efcae53922cfce (patch) | |
| tree | 36eeb68d6d9fcf2c2ac8ea0e8c35c62fc2c4d172 /drivers/iio/trigger/stm32-timer-trigger.c | |
| parent | tcmu: Fix possible to/from address overflow when doing the memcpy (diff) | |
| download | kernel-ededd039d1b96035b23592c049efcae53922cfce.tar.gz kernel-ededd039d1b96035b23592c049efcae53922cfce.zip | |
tcmu: free old string on reconfig
On initial tcmu_configure_device call the info->name would
have already been allocated and set, so on the second call
make sure to free it first.
Reported-by: Mike Christie <[email protected]>
Reviewed-by: Mike Christie <[email protected]>
Signed-off-by: Bryant G. Ly <[email protected]>
Signed-off-by: Nicholas Bellinger <[email protected]>
Diffstat (limited to 'drivers/iio/trigger/stm32-timer-trigger.c')
0 files changed, 0 insertions, 0 deletions
