[Webkit-unassigned] [Bug 188983] [GTK][JSC] Add warn_unused_result attribute to some APIs

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 27 09:15:46 PDT 2018


https://bugs.webkit.org/show_bug.cgi?id=188983

--- Comment #4 from Michael Catanzaro <mcatanzaro at igalia.com> ---
Rationale: programmers intuitively expect that it is safe to ignore the return value of a function call if the result is unneeded or void. But, as Patrick discovered, this leads to memory leaks if you think you can get away with that when using jsc_value_object_invoke_method() or jsc_value_function_call().

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180827/adf8d05f/attachment.html>


More information about the webkit-unassigned mailing list