summaryrefslogtreecommitdiff
path: root/src/benchmarks/eo
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2016-06-05 15:16:58 +0100
committerTom Hacohen <tom@stosb.com>2016-06-05 15:22:53 +0100
commitf122437dd6fe624e8c3932e39005cd2c172d8162 (patch)
tree7765e5f04cf6fae958c547e25b3233c5f15344f6 /src/benchmarks/eo
parent5eff3ee9ddd4c9075b0dff5eca8b91cb98c2b09b (diff)
Eo: fix reference hack when calling composite objects.
We used to keep a reference to the parent object and have it in the call structure although we were actually calling the function on the embedded object. This was needed because we wanted to unref the parent correctly. This was incorrect (and marked as a hack) and now I finally gotten around to implementing the (amazingly simple) fix to remove this workaround. Essentially we just ref the comp object, unref the parent, and let the normal eo call flow to unref the comp object correctly later on, like it would have unreffed the extra ref we had for the parent.
Diffstat (limited to 'src/benchmarks/eo')
0 files changed, 0 insertions, 0 deletions