Ver código fonte

Revert "Free state variable allocated in wd_resource_state_is_ok"

This reverts commit 01c63ca17ca5b5a780cff0dd96d7d432b3e980a3.
(cherry picked from commit e4d75d1ab30a196b016d630dd2e5d5d05b8e77eb)
Jan Friesse 13 anos atrás
pai
commit
f8c8712e5d
1 arquivos alterados com 0 adições e 1 exclusões
  1. 0 1
      exec/wd.c

+ 0 - 1
exec/wd.c

@@ -202,7 +202,6 @@ static int32_t wd_resource_state_is_ok (struct resource *ref)
 		*/
 		return CS_FALSE;
 	}
-	free (state);
 
 	if (last_updated == 0) {
 		/* initial value */