SF.net SVN: geany:[4886] trunk

eht16 at users.sourceforge.net eht16 at xxxxx
Sat May 8 15:41:00 UTC 2010


Revision: 4886
          http://geany.svn.sourceforge.net/geany/?rev=4886&view=rev
Author:   eht16
Date:     2010-05-08 15:41:00 +0000 (Sat, 08 May 2010)

Log Message:
-----------
Fix crash when generating global tags files (patch by Colomban Wendling, thanks).

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/src/main.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2010-05-08 13:32:23 UTC (rev 4885)
+++ trunk/ChangeLog	2010-05-08 15:41:00 UTC (rev 4886)
@@ -9,6 +9,9 @@
    Improve jumping to matching braces by consistently position the
    cursor before or after the matching brace dependent where it
    was before (patch by Dimitar Zhekov, thanks).
+ * src/main.c:
+   Fix crash when generating global tags files (patch by Colomban
+   Wendling, thanks).
 
 
 2010-05-07  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>

Modified: trunk/src/main.c
===================================================================
--- trunk/src/main.c	2010-05-08 13:32:23 UTC (rev 4885)
+++ trunk/src/main.c	2010-05-08 15:41:00 UTC (rev 4886)
@@ -549,9 +549,12 @@
 	{
 		gboolean ret;
 
+		document_init_doclist();
 		filetypes_init_types();
 		filetypes_read_extensions();	/* needed for *.lang.tags filetype matching */
 		ret = symbols_generate_global_tags(*argc, *argv, ! no_preprocessing);
+		filetypes_free_types();
+		document_finalize();
 		exit(ret);
 	}
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Commits mailing list