1 2 3 4 5 6 7 8 9 10
--- logview/logrtns.c.orig Sun Feb 20 13:03:24 2005 +++ logview/logrtns.c Sun Feb 20 13:27:46 2005 @@ -230,6 +234,7 @@ OpenLogFile (char *filename) g_free (filename); buffer_lines = g_strsplit (buffer, "\n", -1); + g_free (buffer); /* count the lines */ for (i=0; buffer_lines[i+1] != NULL; i++);