mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-31 22:25:35 -04:00
Fixed C++ casting problems. free functions returns void
This commit is contained in:
parent
2110049f2f
commit
544718f10d
3 changed files with 15 additions and 16 deletions
|
|
@ -523,7 +523,7 @@ int snd_pcm_info_malloc(snd_pcm_info_t **infop)
|
|||
return 0;
|
||||
}
|
||||
|
||||
int snd_pcm_info_free(snd_pcm_info_t *info)
|
||||
void snd_pcm_info_free(snd_pcm_info_t *info)
|
||||
{
|
||||
assert(info);
|
||||
free(info);
|
||||
|
|
@ -634,7 +634,7 @@ int snd_pcm_status_malloc(snd_pcm_status_t **statusp)
|
|||
return 0;
|
||||
}
|
||||
|
||||
int snd_pcm_status_free(snd_pcm_status_t *status)
|
||||
void snd_pcm_status_free(snd_pcm_status_t *status)
|
||||
{
|
||||
assert(status);
|
||||
free(status);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue