Revision: 45846
http://brlcad.svn.sourceforge.net/brlcad/?rev=45846&view=rev
Author: brlcad
Date: 2011-08-09 17:26:33 +0000 (Tue, 09 Aug 2011)
Log Message:
-----------
free the sketch now that mk_sketch() doesn't
Modified Paths:
--------------
brlcad/trunk/src/conv/dxf/dxf-g.c
Modified: brlcad/trunk/src/conv/dxf/dxf-g.c
===================================================================
--- brlcad/trunk/src/conv/dxf/dxf-g.c 2011-08-09 17:05:54 UTC (rev 45845)
+++ brlcad/trunk/src/conv/dxf/dxf-g.c 2011-08-09 17:26:33 UTC (rev 45846)
@@ -3283,6 +3283,11 @@
if( skt != NULL ) {
mk_sketch(out_fp, name, skt);
(void) mk_addmember(name, &head, NULL, WMOP_UNION);
+ if (skt->curve)
+ rt_curve_free(skt->curve);
+ if (skt->verts)
+ bu_free(skt->verts, "free verts");
+ bu_free(skt, "free sketch");
}
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model
configuration take the hassle out of deploying and managing Subversion and
the tools developers use with it. Learn more about uberSVN and get a free
download at: http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits