Mercurial > audlegacy
changeset 732:d77a1c5b5c13 trunk
[svn] - crash fix at no additional charge
author | nenolod |
---|---|
date | Mon, 27 Feb 2006 15:20:52 -0800 |
parents | 9783edaae2b5 |
children | 3c2bb116f4db |
files | Plugins/General/lirc/lirc.c |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/Plugins/General/lirc/lirc.c Mon Feb 27 15:02:04 2006 -0800 +++ b/Plugins/General/lirc/lirc.c Mon Feb 27 15:20:52 2006 -0800 @@ -355,8 +355,9 @@ { if(config) { - gtk_input_remove(input_tag); - lirc_freeconfig(config); + if(input_tag) + gtk_input_remove(input_tag); + config=NULL; } if(lirc_fd!=-1)