Fix crash in testcase (due to #75)

This commit is contained in:
Sandro Santilli 2015-04-21 12:01:18 +02:00
parent 44037b743e
commit 291ccfe57a

View File

@ -494,7 +494,8 @@ test_patch_wkb()
pc_pointlist_free(pl1);
pc_patch_free(pa1);
pc_patch_free(pa2);
pc_patch_free((PCPATCH_DIMENSIONAL*)pa3);
/* WARNING: cannot free pa3, see https://github.com/pgpointcloud/pointcloud/issues/75 */
/*pc_patch_free((PCPATCH_DIMENSIONAL*)pa3);*/
pc_patch_free(pa4);
pc_patch_uncompressed_free(pu1);
pc_patch_uncompressed_free(pu2);