Skip to content
Permalink
Browse files
Merge pull request #54 from danilagamma/master
Fix `bin_leak/1` `badarith`
  • Loading branch information
ferd committed Oct 20, 2016
2 parents fcc1a7d + 84bf1d4 commit e3e2db564a4a176f0a733161b39bf0f0bd4ed3a8
Showing 1 changed file with 1 addition and 1 deletion.
@@ -318,7 +318,7 @@ bin_leak(N) ->
{ok, {_,Post,_}} = recon_lib:proc_attrs(binary, Pid),
{Pid, length(Pre) - length(Post), Id}
catch
_:_ -> {Pid, {0, 0}, []}
_:_ -> {Pid, 0, []}
end || Pid <- processes()
], N),
[{Pid, -Val, Id} ||{Pid, Val, Id} <-Procs].

0 comments on commit e3e2db5

Please sign in to comment.