[pulse] Tweak error message for Memory Leak

Reviewed By: dulmarod

Differential Revision: D23238533

fbshipit-source-id: e5e4e280d
master
Ezgi Çiçek 5 years ago committed by Facebook GitHub Bot
parent 4803492970
commit c449f6e727

@ -79,7 +79,8 @@ let get_message = function
| ViaCall {f; _} ->
F.fprintf fmt "by call to %a" CallEvent.describe f
in
F.asprintf "memory dynamically allocated at line %d %a, is not reachable after %a"
F.asprintf
"memory dynamically allocated at line %d %a, is not freed after the last access at %a"
allocation_line pp_allocation_trace allocation_trace Location.pp location
| StackVariableAddressEscape {variable; _} ->
let pp_var f var =

Loading…
Cancel
Save