Use delete instead of xfree for gdb_timer
[deliverable/binutils-gdb.git] / gdb / event-loop.c
index 4b3ddb84276d95afcaa8e6e90788541b66fe7e50..7304ca7a2a6c19fca73fc0b083b124994f094f91 100644 (file)
@@ -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.024892 seconds and 4 git commands to generate.