Add license to memory_resource.cpp