Bug 199800

Summary: [WPE][GTK] Improvements and fixes in FileSystemGlib.cpp
Product: WebKit Reporter: Michael Catanzaro <mcatanzaro>
Component: WebKitGTKAssignee: Michael Catanzaro <mcatanzaro>
Status: RESOLVED FIXED    
Severity: Normal CC: benjamin, bugs-noreply, cdumez, cgarcia, cmarcelo, commit-queue, dbates, ews-watchlist, mcatanzaro
Priority: P2    
Version: WebKit Nightly Build   
Hardware: PC   
OS: Linux   
Attachments:
Description Flags
Patch none

Description Michael Catanzaro 2019-07-15 12:37:01 PDT
* Use nullptr
 * Fix GFileInfo leak in getFileSize
 * Use GRefPtr to clarify ownership of the GFileIOStream in openFile
Comment 1 Michael Catanzaro 2019-07-15 13:00:28 PDT
Created attachment 374137 [details]
Patch
Comment 2 Carlos Garcia Campos 2019-07-16 00:40:10 PDT
Comment on attachment 374137 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=374137&action=review

> Source/WTF/wtf/glib/FileSystemGlib.cpp:358
> -    return ioStream;
> +    return ioStream.leakRef();

I don't see why this clarifies anything, but ok.
Comment 3 WebKit Commit Bot 2019-07-16 01:09:58 PDT
Comment on attachment 374137 [details]
Patch

Clearing flags on attachment: 374137

Committed r247477: <https://trac.webkit.org/changeset/247477>
Comment 4 WebKit Commit Bot 2019-07-16 01:09:59 PDT
All reviewed patches have been landed.  Closing bug.