Hi! There was already a missed g_free().
Daniel
From fb80f341b6b54f06391e63a42b8622ff854bc660 Mon Sep 17 00:00:00 2001 From: Daniel Carl <[email protected]> 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) -- 1.7.9.5
signature.asc
Description: Digital signature
------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d
_______________________________________________ Vimprobable-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/vimprobable-users
