Mercurial > audlegacy-plugins
changeset 2692:c1913516022a
Use g_free() as it should be used.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 06 Jun 2008 14:51:38 +0300 |
parents | 1d2596522075 |
children | 8d10c920d26d |
files | src/OSS/OSS.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/OSS/OSS.c Fri Jun 06 14:41:31 2008 +0300 +++ b/src/OSS/OSS.c Fri Jun 06 14:51:38 2008 +0300 @@ -90,12 +90,12 @@ void oss_cleanup(void) { if (oss_cfg.alt_audio_device) { - free(oss_cfg.alt_audio_device); + g_free(oss_cfg.alt_audio_device); oss_cfg.alt_audio_device = NULL; } if (oss_cfg.alt_mixer_device) { - free(oss_cfg.alt_mixer_device); + g_free(oss_cfg.alt_mixer_device); oss_cfg.alt_mixer_device = NULL; } }