Revision: 45945
          http://brlcad.svn.sourceforge.net/brlcad/?rev=45945&view=rev
Author:   bhinesley
Date:     2011-08-12 20:38:37 +0000 (Fri, 12 Aug 2011)

Log Message:
-----------
reincrement pointer/length when done; otherwise, freeing the path only works 
intermittently

Modified Paths:
--------------
    brlcad/trunk/src/libged/path.c

Modified: brlcad/trunk/src/libged/path.c
===================================================================
--- brlcad/trunk/src/libged/path.c      2011-08-12 20:36:54 UTC (rev 45944)
+++ brlcad/trunk/src/libged/path.c      2011-08-12 20:38:37 UTC (rev 45945)
@@ -63,6 +63,8 @@
            ++(path->fp_names);
            --(path->fp_len);
            path_validate_recurse(gedp, path, DB_FULL_PATH_GET(path, 1));
+           --(path->fp_names);
+           ++(path->fp_len);
        } else
            return GED_ERROR; /* non-combinations shouldn't have children */
     } else {


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

------------------------------------------------------------------------------
FREE DOWNLOAD - uberSVN with Social Coding for Subversion.
Subversion made easy with a complete admin console. Easy 
to use, easy to manage, easy to install, easy to extend. 
Get a Free download of the new open ALM Subversion platform now.
http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to