[PATCH] msxml3: Refcount the domdoc/xmldoc properties.
Francois Gouget
fgouget at codeweavers.com
Thu May 6 07:55:36 CDT 2021
On Sun, 2 May 2021, Nikolay Sivov wrote:
[...]
> > +LONG properties_add_ref(domdoc_properties* properties)
> > {
> > - if (properties)
> > + LONG ref = InterlockedExchangeAdd(&properties->refs, 1) + 1;
> > + TRACE("(%p)->(%d)\n", properties, ref);
> > + return ref;
> > +}
[...]
> Could we use InterlockedIncrement for that?
Yes. Sending an updated patch...
--
Francois Gouget <fgouget at codeweavers.com>
More information about the wine-devel
mailing list