[SCM] PostGIS branch master updated. 3.5.0-376-g109e5adfc
git at osgeo.org
git at osgeo.org
Fri Jun 6 12:28:57 PDT 2025
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "PostGIS".
The branch, master has been updated
via 109e5adfcb3fd3254ac434f70b29170a44278bfd (commit)
from 9a9ffca3ad604f1728a91cb7e9a31c1069ba7718 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 109e5adfcb3fd3254ac434f70b29170a44278bfd
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date: Fri Jun 6 12:28:24 2025 -0700
ST_ValueCount crashes on empty table, references #5909
diff --git a/raster/rt_pg/rtpg_statistics.c b/raster/rt_pg/rtpg_statistics.c
index 4db8f7295..bffdf0e6b 100644
--- a/raster/rt_pg/rtpg_statistics.c
+++ b/raster/rt_pg/rtpg_statistics.c
@@ -2073,7 +2073,7 @@ Datum RASTER_valueCountCoverage(PG_FUNCTION_ARGS) {
}
/* do when there is no more left */
else {
- pfree(covvcnts2);
+ if (covvcnts2) pfree(covvcnts2);
SRF_RETURN_DONE(funcctx);
}
}
-----------------------------------------------------------------------
Summary of changes:
raster/rt_pg/rtpg_statistics.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list