Branch: refs/heads/master Author: Enrico Trotta enrico.trt@gmail.com Committer: Enrico Trotta enrico.trt@gmail.com Date: Fri, 04 May 2012 12:01:18 Commit: ceb0a33f66b544eb162a98e9042589c8f35d10e2 https://github.com/geany/geany-plugins/commit/ceb0a33f66b544eb162a98e9042589...
Log Message: ----------- fix for tokens_array[] freed too early
Modified Paths: -------------- geniuspaste/src/geniuspaste.c
Modified: geniuspaste/src/geniuspaste.c 6 files changed, 3 insertions(+), 3 deletions(-) =================================================================== @@ -247,11 +247,11 @@ static void paste(const gchar * website) */
p_url = g_strdup(tokens_array[5]); - + occ_position = indexof(tokens_array[5], '"'); + g_free(temp_body); g_strfreev(tokens_array); - - occ_position = indexof(tokens_array[5], '"'); + if(occ_position != -1) { p_url[occ_position] = '\0'; } else {
@@ 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