diff options
Diffstat (limited to 'Source/JavaScriptCore/wtf/gobject/GOwnPtr.cpp')
-rw-r--r-- | Source/JavaScriptCore/wtf/gobject/GOwnPtr.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Source/JavaScriptCore/wtf/gobject/GOwnPtr.cpp b/Source/JavaScriptCore/wtf/gobject/GOwnPtr.cpp index 8dcfb9e..7c51ee1 100644 --- a/Source/JavaScriptCore/wtf/gobject/GOwnPtr.cpp +++ b/Source/JavaScriptCore/wtf/gobject/GOwnPtr.cpp @@ -61,11 +61,6 @@ template <> void freeOwnedGPtr<GDir>(GDir* ptr) g_dir_close(ptr); } -template <> void freeOwnedGPtr<GFile>(GFile* ptr) -{ - if (ptr) - g_object_unref(ptr); -} } // namespace WTF #endif // ENABLE(GLIB_SUPPORT) |