mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2026-02-23 01:40:06 -05:00
rawmidi: use snd_dlobj_cache_get2() in rawmidi open (coverity)
Use proper reference counting for the dynamic symbol. Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
3ae743efea
commit
8ab0393b42
4 changed files with 57 additions and 32 deletions
|
|
@ -37,7 +37,7 @@ typedef struct {
|
|||
} snd_rawmidi_ops_t;
|
||||
|
||||
struct _snd_rawmidi {
|
||||
void *dl_handle;
|
||||
void *open_func;
|
||||
char *name;
|
||||
snd_rawmidi_type_t type;
|
||||
snd_rawmidi_stream_t stream;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue