From 005ffb141611bf0b56f72b54548705549c7a04ec Mon Sep 17 00:00:00 2001 From: Byrial Jensen Date: Sat, 17 Dec 2011 22:54:34 +0100 Subject: [PATCH] Fix a memory leak in Sound Options --- xoptions.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/xoptions.c b/xoptions.c index f297ab4..c1ae427 100644 --- a/xoptions.c +++ b/xoptions.c @@ -1289,6 +1289,7 @@ void SoundOptionsProc(w, event, prms, nprms) String *prms; Cardinal *nprms; { + free(soundFiles[2]); soundFiles[2] = strdup("*"); GenericPopUp(soundOptions, _("Sound Options"), 0); } -- 1.7.0.4