aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/kpathing.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/engine/kpathing.cpp')
-rw-r--r--engines/sci/engine/kpathing.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/sci/engine/kpathing.cpp b/engines/sci/engine/kpathing.cpp
index 47ad812784..dd2655b579 100644
--- a/engines/sci/engine/kpathing.cpp
+++ b/engines/sci/engine/kpathing.cpp
@@ -872,7 +872,7 @@ visible_vertices(pf_state_t *s, vertex_t *vert)
}
}
- sci_free(vert_sorted);
+ free(vert_sorted);
/* Free tree */
aatree_free(tree);
@@ -1252,10 +1252,10 @@ free_polygon(polygon_t *polygon)
while (!CLIST_EMPTY(&polygon->vertices)) {
vertex_t *vertex = CLIST_FIRST(&polygon->vertices);
CLIST_REMOVE(&polygon->vertices, vertex, entries);
- sci_free(vertex);
+ free(vertex);
}
- sci_free(polygon);
+ free(polygon);
}
static void
@@ -1266,10 +1266,10 @@ free_pf_state(pf_state_t *p)
*/
{
if (p->vertex_index)
- sci_free(p->vertex_index);
+ free(p->vertex_index);
if (p->vis_matrix)
- sci_free(p->vis_matrix);
+ free(p->vis_matrix);
while (!LIST_EMPTY(&p->polygons)) {
polygon_t *polygon = LIST_FIRST(&p->polygons);
@@ -1277,7 +1277,7 @@ free_pf_state(pf_state_t *p)
free_polygon(polygon);
}
- sci_free(p);
+ free(p);
}
static void