summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/pdb-ng/src/type_parser.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/pdb-ng/src/type_parser.rs b/plugins/pdb-ng/src/type_parser.rs
index dde34bde..7805cbc4 100644
--- a/plugins/pdb-ng/src/type_parser.rs
+++ b/plugins/pdb-ng/src/type_parser.rs
@@ -2421,7 +2421,7 @@ impl<'a, S: Source<'a> + 'a> PDBParserInstance<'a, S> {
// that the calling convention can determine this by default
let default_return_location = convention
.contents
- .return_value_location(self.bv, return_value.clone());
+ .return_value_location(Some(self.bv), &return_value);
if default_return_location.indirect {
None
} else {