Explorar el Código

destroy spinlock as appropriate

Samuel Thibault hace 12 años
padre
commit
59173203cd
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/datawizard/filters.c

+ 1 - 0
src/datawizard/filters.c

@@ -393,6 +393,7 @@ void starpu_data_unpartition(starpu_data_handle_t root_handle, uint32_t gatherin
 	{
 		starpu_data_handle_t child_handle = starpu_data_get_child(root_handle, child);
 		_starpu_spin_unlock(&child_handle->header_lock);
+		_starpu_spin_destroy(&child_handle->header_lock);
 	}
 
 	/* there is no child anymore */