aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/api_gen/wx_gen.erl
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2010-01-19 14:15:31 +0000
committerErlang/OTP <[email protected]>2010-01-19 14:15:31 +0000
commitb0b1c57b2256c0081b8e43b0c8799c71e30016fe (patch)
treece71e3c8046bb2fcb72814a0f17c569ccc90cbe1 /lib/wx/api_gen/wx_gen.erl
parent9ef7d5424fee7cd703f6fad30786358ec36a3749 (diff)
downloadotp-b0b1c57b2256c0081b8e43b0c8799c71e30016fe.tar.gz
otp-b0b1c57b2256c0081b8e43b0c8799c71e30016fe.tar.bz2
otp-b0b1c57b2256c0081b8e43b0c8799c71e30016fe.zip
Fixed a memory reference bug which caused unexplained {badarg, Int} exits.
You could get a reference to another applications memory, if wx had deleted that applications memory without the drivers knowledge about it, typically memory allocated by wx and not the application using classes where wx-driver can't override the desctructors. When wx allocated new memory and got a pointer to that memory, the wx-driver detected the same pointer and forwarded the old ref to erlang.
Diffstat (limited to 'lib/wx/api_gen/wx_gen.erl')
0 files changed, 0 insertions, 0 deletions