Ver código fonte

async: free the async item after resuming the execution

- reported by Surendra Pullaiah

(cherry picked from commit c33583e6456d3500f8a9c870eb01a01d1a1fe8f4)
(cherry picked from commit 36c42be1a02fcb47d4b288136df81f424b690351)
Daniel-Constantin Mierla 11 anos atrás
pai
commit
133f88548b
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      modules/async/async_sleep.c

+ 1 - 0
modules/async/async_sleep.c

@@ -183,5 +183,6 @@ void async_timer_exec(unsigned int ticks, void *param)
 			break;
 		if(ai->act!=NULL)
 			tmb.t_continue(ai->tindex, ai->tlabel, ai->act);
+		shm_free(ai);
 	}
 }