From 5c9532c00d15475913461cc5e959f57907bf1dd7 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Mon, 9 Feb 2015 19:55:01 +0100 Subject: [PATCH] Revert recently introduced double free on pcpoint (only in test) --- lib/cunit/cu_pc_patch.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/cunit/cu_pc_patch.c b/lib/cunit/cu_pc_patch.c index 5ca1bee..ceb1501 100644 --- a/lib/cunit/cu_pc_patch.c +++ b/lib/cunit/cu_pc_patch.c @@ -376,8 +376,6 @@ test_patch_dimensional_extent() pc_point_set_double_by_name(pt, "Z", i*0.2); pc_point_set_double_by_name(pt, "intensity", -5); pc_pointlist_add_point(pl1, pt); - // free point ? - pc_point_free(pt); } pch1 = pc_patch_dimensional_from_pointlist(pl1);