diff options
author | Zero0one1 <summerlinasity@gmail.com> | 2021-04-08 10:04:20 +0300 |
---|---|---|
committer | Robert Adam <dev@robert-adam.de> | 2021-04-08 12:39:18 +0300 |
commit | 6632dabd91880d921cd1829e5365e4d3212173fd (patch) | |
tree | 8e4284ecf170080524d4105a6e5dd1d351344cb8 /src/mumble/mumble_lt.ts | |
parent | 7c5188a577030544af0550f2d72c958321aa9e4e (diff) |
FIX(client): Check the returned error code of ALSA
The functions snd_card_get_name and snd_card_get_longname allocate a
String and return 0 if success otherwise the negative error code.
There is a need to check the return value before using the allocated String.
This commit fixes this by checking the return value and exiting if the
return value is not zero.
Ref: #4910
Co-Authored-By: Zero0one1 <summerlinasity@gmail.com>
Co-Authored-By: Krzmbrzl <krzmbrzl@gmail.com>
Diffstat (limited to 'src/mumble/mumble_lt.ts')
0 files changed, 0 insertions, 0 deletions