Changeset 8047


Ignore:
Timestamp:
Oct 29, 2011 1:54:07 PM (5 years ago)
Author:
pramsey
Message:

Fix regression

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/postgis/lwgeom_functions_basic.c

    r8046 r8047  
    108108{
    109109        GSERIALIZED *geom = (GSERIALIZED *) PG_DETOAST_DATUM(PG_GETARG_DATUM(0));
    110         size_t size = VARSIZE(geom) - VARHDRSZ;
     110        size_t size = VARSIZE(geom);
    111111        PG_FREE_IF_COPY(geom,0);
    112112        PG_RETURN_INT32(size);
Note: See TracChangeset for help on using the changeset viewer.