projects
/
xboard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
ca4e429
)
Fix a memory leak in Sound Options
author
Byrial Jensen
<byrial@vip.cybercity.dk>
Sat, 17 Dec 2011 21:54:34 +0000 (22:54 +0100)
committer
Byrial Jensen
<byrial@vip.cybercity.dk>
Sat, 17 Dec 2011 21:54:34 +0000 (22:54 +0100)
xoptions.c
patch
|
blob
|
history
diff --git
a/xoptions.c
b/xoptions.c
index
f297ab4
..
c1ae427
100644
(file)
--- 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);
}