changeset 2693:8d10c920d26d

Use g_free().
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 06 Jun 2008 14:52:25 +0300
parents c1913516022a
children 77439faa1934
files src/OSS4/OSS4.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/OSS4/OSS4.c	Fri Jun 06 14:51:38 2008 +0300
+++ b/src/OSS4/OSS4.c	Fri Jun 06 14:52:25 2008 +0300
@@ -58,7 +58,7 @@
     aud_cfg_db_close(db);
 
     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;
     }