Sfoglia il codice sorgente

Revert "Free state variable allocated in wd_resource_state_is_ok"

This reverts commit 01c63ca17ca5b5a780cff0dd96d7d432b3e980a3.
(cherry picked from commit e4d75d1ab30a196b016d630dd2e5d5d05b8e77eb)
Jan Friesse 13 anni fa
parent
commit
f8c8712e5d
1 ha cambiato i file con 0 aggiunte e 1 eliminazioni
  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;
 		return CS_FALSE;
 	}
 	}
-	free (state);
 
 
 	if (last_updated == 0) {
 	if (last_updated == 0) {
 		/* initial value */
 		/* initial value */