changeset 13808:46910a7aa7e1

small memleak fix, based on patch by Wei Jiang <jiangw98@yahoo.com>
author faust3
date Sat, 30 Oct 2004 10:40:53 +0000
parents b014091b4417
children a9e2fda933be
files input/input.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/input/input.c	Sat Oct 30 10:09:52 2004 +0000
+++ b/input/input.c	Sat Oct 30 10:40:53 2004 +0000
@@ -1582,6 +1582,8 @@
     if(cmd_fds[i].close_func)
       cmd_fds[i].close_func(cmd_fds[i].fd);
   }
+  mp_input_free_binds(cmd_binds);
+  cmd_binds=NULL;
   
 }