Branch: refs/heads/master Author: Colomban Wendling ban@herbesfolles.org Committer: Frank Lanitz frank@frank.uvena.de Date: Sun, 26 Aug 2012 09:13:17 Commit: b30cb657611b6f4429393aa98bf39f6be6b16002 https://github.com/geany/geany-plugins/commit/b30cb657611b6f4429393aa98bf39f...
Log Message: ----------- geniuspaste: Fix an invalid memory free
Modified Paths: -------------- geniuspaste/src/geniuspaste.c
Modified: geniuspaste/src/geniuspaste.c 5 files changed, 2 insertions(+), 3 deletions(-) =================================================================== @@ -377,9 +377,8 @@ static void paste(GeanyDocument * doc, const gchar * website) * e.g. sprunge.us/xxxx?c */ gchar *ft_tmp = g_ascii_strdown(f_type, -1); - gchar *temp_body = g_strstrip(p_url); - SETPTR(p_url, g_strdup_printf("%s?%s", temp_body, ft_tmp)); - g_free(temp_body); + g_strstrip(p_url); + SETPTR(p_url, g_strdup_printf("%s?%s", p_url, ft_tmp)); g_free(ft_tmp); }
@@ Diff output truncated at 100000 characters. @@
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: TBD).
plugins-commits@lists.geany.org