mirror of
https://github.com/pgpointcloud/pointcloud.git
synced 2025-12-08 20:36:04 +00:00
Fix leak in pc_patch_from_patchlist
This commit is contained in:
parent
4ba74589d6
commit
ca62fdf00f
@ -393,7 +393,7 @@ pc_patch_from_patchlist(PCPATCH **palist, int numpatches)
|
||||
size_t sz = pu->schema->size * pu->npoints;
|
||||
memcpy(buf, pu->data, sz);
|
||||
buf += sz;
|
||||
pc_patch_uncompressed_free(pu);
|
||||
pc_patch_free((PCPATCH*)pu);
|
||||
break;
|
||||
}
|
||||
case PC_GHT:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user