Added
Link Here
|
1 |
--- app/core/gimpbezierdesc.c.orig |
2 |
+++ app/core/gimpbezierdesc.c |
3 |
@@ -111,6 +111,7 @@ gimp_bezier_desc_new_from_bound_segs (BoundSeg *bound_segs, |
4 |
gint n_points; |
5 |
gint seg; |
6 |
gint i; |
7 |
+ guint path_data_len; |
8 |
|
9 |
g_return_val_if_fail (bound_segs != NULL, NULL); |
10 |
g_return_val_if_fail (n_bound_segs > 0, NULL); |
11 |
@@ -159,8 +160,10 @@ gimp_bezier_desc_new_from_bound_segs (BoundSeg *bound_segs, |
12 |
|
13 |
g_free (points); |
14 |
|
15 |
+ path_data_len = path_data->len; |
16 |
+ |
17 |
return gimp_bezier_desc_new ((cairo_path_data_t *) g_array_free (path_data, FALSE), |
18 |
- path_data->len); |
19 |
+ path_data_len); |
20 |
} |
21 |
|
22 |
void |