Added missing pmem_flush