[Webkit-unassigned] [Bug 14812] [gtk] [request] add webkit_gtk_frame_get_title() function
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Sep 17 05:23:53 PDT 2007
http://bugs.webkit.org/show_bug.cgi?id=14812
------- Comment #14 from freyther at handhelds.org 2007-09-17 05:23 PDT -------
(In reply to comment #13)
> Created an attachment (id=16303)
--> (http://bugs.webkit.org/attachment.cgi?id=16303&action=view) [edit]
> Updated with g_free() calls, and coding style fixes.
>
+static void webkit_gtk_frame_title_changed_cb(WebKitGtkFrame* frame, gchar*
title, gchar* location)
+{
+ WebKitGtkFramePrivate* frame_data = WEBKIT_GTK_FRAME_GET_PRIVATE(frame);
+ g_free (frame_data->title);
+ g_free (frame_data->location);
+ frame_data->title = g_strdup(title);
+ frame_data->location = g_strdup(location);
+}
frame_data -> frameData and "g_free (" -> "g_free(". but the memory leak
spotted by Mark should be fixed.
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list