diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2011-04-12 12:20:32 +0200 |
---|---|---|
committer | Andreas Schwab <schwab@linux-m68k.org> | 2011-04-12 12:20:32 +0200 |
commit | baad03f0e1fe3bf27d52a425e0e374af6d1cf407 (patch) | |
tree | e86f0c3b393c801dd2f77c3fdadff8eb789712b1 /src/sound.c | |
parent | e7974947bc66f311e3883bb19aec11f3fe4dc7f6 (diff) | |
download | emacs-baad03f0e1fe3bf27d52a425e0e374af6d1cf407.tar.gz |
Use xfree instead of free where appropriate (Bug#8437)
* charset.c (Fclear_charset_maps): Use xfree instead of free.
(Bug#8437)
* keyboard.c (parse_tool_bar_item): Likewise.
* sound.c (sound_cleanup, alsa_close): Likewise.
* termcap.c (tgetent): Likewise.
* xfns.c (x_default_font_parameter): Likewise.
* xsettings.c (read_and_apply_settings): Likewise.
Diffstat (limited to 'src/sound.c')
-rw-r--r-- | src/sound.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sound.c b/src/sound.c index a9bd540aaa9..7d7317e71b3 100644 --- a/src/sound.c +++ b/src/sound.c @@ -460,8 +460,8 @@ sound_cleanup (Lisp_Object arg) current_sound_device->close (current_sound_device); if (current_sound->fd > 0) emacs_close (current_sound->fd); - free (current_sound_device); - free (current_sound); + xfree (current_sound_device); + xfree (current_sound); return Qnil; } @@ -1095,7 +1095,7 @@ alsa_close (struct sound_device *sd) snd_pcm_drain (p->handle); snd_pcm_close (p->handle); } - free (p); + xfree (p); } } |