------- Comment #10 from jvdelisle at gcc dot gnu dot org 2006-12-15 08:51 ------- Tobias observation in comment #2 is correct. The submitted patch moves the memory free actions to after the write transfers have completed. No more valgrind errors.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30200