Revision: 4857 http://geany.svn.sourceforge.net/geany/?rev=4857&view=rev Author: eht16 Date: 2010-04-25 17:42:24 +0000 (Sun, 25 Apr 2010)
Log Message: ----------- Change eFree() to simply ignore NULL pointers instead of asserting.
Modified Paths: -------------- trunk/ChangeLog trunk/tagmanager/ctags.c
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2010-04-25 17:42:12 UTC (rev 4856) +++ trunk/ChangeLog 2010-04-25 17:42:24 UTC (rev 4857) @@ -6,6 +6,8 @@ * src/win32.c: Change the limit for the command line length when executing commands to a maximum of 32768 characters (closes #2979697). + * tagmanager/ctags.c: + Change eFree() to simply ignore NULL pointers instead of asserting.
2010-04-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
Modified: trunk/tagmanager/ctags.c =================================================================== --- trunk/tagmanager/ctags.c 2010-04-25 17:42:12 UTC (rev 4856) +++ trunk/tagmanager/ctags.c 2010-04-25 17:42:24 UTC (rev 4857) @@ -373,8 +373,8 @@
extern void eFree (void *const ptr) { - Assert (ptr != NULL); - free (ptr); + if (ptr != NULL) + free (ptr); }
extern void toLowerString (char* str)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.