[PATCH] evr/sample: Use proper locking method for SetAllocator().