Mercurial > audlegacy
diff Plugins/General/lirc/lirc.c @ 732:d77a1c5b5c13 trunk
[svn] - crash fix at no additional charge
author | nenolod |
---|---|
date | Mon, 27 Feb 2006 15:20:52 -0800 |
parents | 3770123787c2 |
children |
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)