Skip to content

Commit

Permalink
hot fix for output error
Browse files Browse the repository at this point in the history
  • Loading branch information
VaynNecol committed Jan 18, 2025
1 parent d001c7f commit cced093
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rapx/src/analysis/rcanary/ranalyzer/intra_visitor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2356,7 +2356,7 @@ impl<'tcx, 'ctx, 'a> IntraFlowAnalysis<'tcx, 'ctx, 'a> {
let fn_name = get_name(self.tcx(), self.did)
.unwrap_or_else(|| Symbol::intern("no symbol available"));

rap_warn!("Double free detected in function {:}", fn_name);
rap_warn!("Memory Leak detected in function {:}", fn_name);
let source = span_to_source_code(self.body().span);
let file = span_to_filename(self.body().span);
let mut snippet = Snippet::source(&source)
Expand Down

0 comments on commit cced093

Please sign in to comment.