diff options
author | Jose Fonseca <jfonseca@vmware.com> | 2016-06-28 22:25:43 +0100 |
---|---|---|
committer | Jose Fonseca <jfonseca@vmware.com> | 2016-06-28 22:25:43 +0100 |
commit | c04e1899c4434c1d49102254952a400f4223212d (patch) | |
tree | fbd502ade1cc651dfce5e770daf60054f6972099 /lib | |
parent | 9c34aeb5643b68789ba0e2d5ded62d934dcbf464 (diff) |
trace: Don't presume that COM interface pointers are freed when refcount reaches zero.
They often aren't. And worst of all, some apps rely on them sticking
around.
With this change, the destruction of wrapper objects is effectively
deferred until a different interface is created on the same pointer
address, or more likely leaked. But this is unavoidable, given there's
no generic mechanism to know for sure when the wrapped object is freed.
Fixes https://github.com/apitrace/apitrace/issues/462
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions