summaryrefslogtreecommitdiffstats
path: root/src/ui/tools/measure-tool.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2015-11-03 22:57:43 +0000
committerJabiertxof <jtx@jtx.marker.es>2015-11-03 22:57:43 +0000
commit01f40289c4b069d0b3d8ad80b4c59c69950dd937 (patch)
tree1849b9c0a513623f8d77a494e0650aca34fc2476 /src/ui/tools/measure-tool.cpp
parentupdate to trunk (diff)
downloadinkscape-01f40289c4b069d0b3d8ad80b4c59c69950dd937.tar.gz
inkscape-01f40289c4b069d0b3d8ad80b4c59c69950dd937.zip
Fix a bug compiling
(bzr r14393.1.34)
Diffstat (limited to 'src/ui/tools/measure-tool.cpp')
-rw-r--r--src/ui/tools/measure-tool.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ui/tools/measure-tool.cpp b/src/ui/tools/measure-tool.cpp
index 31977b8b1..06f32ba5c 100644
--- a/src/ui/tools/measure-tool.cpp
+++ b/src/ui/tools/measure-tool.cpp
@@ -420,7 +420,6 @@ void MeasureTool::writeMeasurePoint(Geom::Point point, bool is_start) {
meassure_point_str << point[Geom::X] << "," << point[Geom::Y];
gchar const *measure_point = is_start ? "inkscape:measure-start" : "inkscape:measure-end";
namedview->setAttribute (measure_point, meassure_point_str.str().c_str());
- g_free(str);
}
//This function is used to reverse the Measure, I do it in two steps because when move the knot the