From 3befb184d95818a99d726e470c5ff4552f5db3bf Mon Sep 17 00:00:00 2001 From: joncruz Date: Sat, 24 May 2008 21:27:44 +0000 Subject: [PATCH] Removed g_free() calls that now refer to static strings --- src/pen-context.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/pen-context.cpp b/src/pen-context.cpp index b63efdf56..8d7ac0819 100644 --- a/src/pen-context.cpp +++ b/src/pen-context.cpp @@ -1139,7 +1139,6 @@ spdc_pen_set_subsequent_point(SPPenContext *const pc, NR::Point const p, bool st _("Curve segment: angle %3.2f°, distance %s; with Ctrl to snap angle, Enter to finish the path" ): _("Line segment: angle %3.2f°, distance %s; with Ctrl to snap angle, Enter to finish the path"); spdc_pen_set_angle_distance_status_message(pc, p, 0, message); - g_free(message); } } @@ -1181,7 +1180,6 @@ spdc_pen_set_ctrl(SPPenContext *const pc, NR::Point const p, guint const state) _("Curve handle, symmetric: angle %3.2f°, length %s; with Ctrl to snap angle, with Shift to move this handle only") : _("Curve handle: angle %3.2f°, length %s; with Ctrl to snap angle, with Shift to move this handle only"); spdc_pen_set_angle_distance_status_message(pc, p, 3, message); - g_free(message); } else { g_warning("Something bad happened - npoints is %d", pc->npoints); } -- 2.30.2