X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9189fe94c14ef9e31142d1603a1979ea7e731a0a..1d6f35064b982906e6931d6e2cfbf22ab51a10b3:/src/surf/surf_timer.c diff --git a/src/surf/surf_timer.c b/src/surf/surf_timer.c index 35ddfa882b..9f4d72dc4d 100644 --- a/src/surf/surf_timer.c +++ b/src/surf/surf_timer.c @@ -8,9 +8,6 @@ #include "xbt/ex.h" #include "surf_timer_private.h" -XBT_LOG_NEW_DEFAULT_SUBCATEGORY(timer, surf, - "Logging specific to the SURF timer module"); - surf_timer_resource_t surf_timer_resource = NULL; static tmgr_trace_t empty_trace = NULL; static xbt_swag_t command_pending = NULL; @@ -159,6 +156,9 @@ static int action_is_suspended(surf_action_t action) static void finalize(void) { + tmgr_trace_free(empty_trace); + empty_trace = NULL; + xbt_swag_free(command_pending); xbt_swag_free(command_to_run);