From: joncruz Date: Sat, 24 May 2008 21:27:44 +0000 (+0000) Subject: Removed g_free() calls that now refer to static strings X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3befb184d95818a99d726e470c5ff4552f5db3bf;p=inkscape.git Removed g_free() calls that now refer to static strings --- 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); }