WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
51032
[GTK] Fix several issues in
r73858
https://bugs.webkit.org/show_bug.cgi?id=51032
Summary
[GTK] Fix several issues in r73858
Carlos Garcia Campos
Reported
2010-12-14 06:22:44 PST
- It uses both glib private data and it allocates its own private structure - It calls parent's dispose method from finalize - webkit_web_plugin_get_mimetypes() uses a wrong annotation for the returned value, it should be transfer none rather than transfer container. - Since the mime type list is internal and we return the list and not a copy, it should never be freed by the caller, so webkit_web_plugin_mime_type_list_free() should be removed from the public API. - Mime types list is used uninitialized - Mention in the docs that list returned by webkit_web_plugin_database_get_plugins() must be freed with webkit_web_plugin_database_plugins_list_free()
Attachments
Patch to fix the issues
(4.93 KB, patch)
2010-12-14 06:26 PST
,
Carlos Garcia Campos
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Carlos Garcia Campos
Comment 1
2010-12-14 06:26:09 PST
Created
attachment 76531
[details]
Patch to fix the issues
Xan Lopez
Comment 2
2010-12-14 06:31:56 PST
Comment on
attachment 76531
[details]
Patch to fix the issues View in context:
https://bugs.webkit.org/attachment.cgi?id=76531&action=review
> WebKit/gtk/webkit/webkitwebplugin.cpp:55 >
Are both of these NULL-safe?
Xan Lopez
Comment 3
2010-12-14 06:34:53 PST
Comment on
attachment 76531
[details]
Patch to fix the issues Seems they are.
WebKit Commit Bot
Comment 4
2010-12-14 07:55:40 PST
Comment on
attachment 76531
[details]
Patch to fix the issues Clearing flags on attachment: 76531 Committed
r74026
: <
http://trac.webkit.org/changeset/74026
>
WebKit Commit Bot
Comment 5
2010-12-14 07:55:45 PST
All reviewed patches have been landed. Closing bug.
WebKit Commit Bot
Comment 6
2010-12-14 08:11:48 PST
The commit-queue encountered the following flaky tests while processing
attachment 76531
[details]
: fast/loader/recursive-before-unload-crash.html
bug 50880
(authors:
beidson@apple.com
and
eric@webkit.org
) fast/preloader/script.html
bug 50879
(author:
abarth@webkit.org
) The commit-queue is continuing to process your patch.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug