1
1

tmp is on the stack, therefore storing its address for later

usage is FORBIDEN. Set it to NULL by now, and hope the cbdata
is never used by the timer callbacks.

This commit was SVN r23941.
Этот коммит содержится в:
George Bosilca 2010-10-25 19:07:13 +00:00
родитель 5882290cdd
Коммит 17379a6097

Просмотреть файл

@ -309,7 +309,7 @@ ORTE_DECLSPEC OBJ_CLASS_DECLARATION(orte_notify_event_t);
do { \
struct timeval now; \
opal_event_t *tmp; \
tmp = opal_event.evtimer_new((cbfunc), tmp); \
tmp = opal_event.evtimer_new((cbfunc), NULL); \
now.tv_sec = (sec); \
now.tv_usec = (usec); \
OPAL_OUTPUT_VERBOSE((1, orte_debug_output, \