diff input/input.c @ 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 d7af73cc38da
children e632b43f0598
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;
   
 }