From 44bc44eb3d528d68538390f1b2e6b547ec1093aa Mon Sep 17 00:00:00 2001 From: Daniel Carl Date: Sun, 27 Jan 2013 16:58:16 +0100 Subject: [PATCH] Added missed g_free for g_build_filename. --- main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/main.c b/main.c index f6531f7..c860c47 100644 --- a/main.c +++ b/main.c @@ -324,6 +324,7 @@ webview_download_cb(WebKitWebView *webview, WebKitDownload *download, gpointer u path = g_build_filename(g_strdup_printf(DOWNLOADS_PATH), filename, NULL); uri = g_strconcat("file://", path, NULL); webkit_download_set_destination_uri(download, uri); + g_free(path); g_free(uri); size = (uint32_t)webkit_download_get_total_size(download); if (size > 0) -- 2.11.4.GIT