Fixing small memory leak
Correctly ignoring Default-In-RPL for return types as well if they are
references.