[Webkit-unassigned] [Bug 28038] WebSocket API implementation
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Sep 3 22:28:23 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=28038
--- Comment #27 from Fumitoshi Ukai <ukai at chromium.org> 2009-09-03 22:28:23 PDT ---
(In reply to comment #24)
> (From update of attachment 38963 [details])
> > + OwnPtr<char> m_buffer;
> > + int m_bufferSize;
>
> The buffer is allocated with tryFastMalloc, but freed with delete, which will
> cause problems on some configurations - in debug mode, it will be allocated
> with malloc, but freed with delete. OwnPtr is not suitable for holding arrays
> of data, I think that you may need to work with plain pointers here.
>
> I should have noticed this earlier, sorry!
Oh, thanks for pointing it out!
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list