Fixes static analyzer warning

Adds an attribute to tell the compiler we take care of releasing the parameter.