linux-nat: Remove unused parameter
[deliverable/binutils-gdb.git] / gdb / event-loop.c
index 9e8cf66c8fd02f26ff149d5c9c1faeb9d9d20b23..7304ca7a2a6c19fca73fc0b083b124994f094f91 100644 (file)
@@ -1,5 +1,5 @@
 /* Event loop machinery for GDB, the GNU debugger.
-   Copyright (C) 1999-2016 Free Software Foundation, Inc.
+   Copyright (C) 1999-2017 Free Software Foundation, Inc.
    Written by Elena Zannoni <ezannoni@cygnus.com> of Cygnus Solutions.
 
    This file is part of GDB.
@@ -1270,7 +1270,7 @@ poll_timers (void)
       /* Delete the timer before calling the callback, not after, in
         case the callback itself decides to try deleting the timer
         too.  */
-      xfree (timer_ptr);
+      delete timer_ptr;
 
       /* Call the procedure associated with that timer.  */
       (proc) (client_data);
This page took 0.024956 seconds and 4 git commands to generate.