From: Jorge Arévalo Date: Wed, 13 Apr 2011 19:53:58 +0000 (+0000) Subject: Context freed. It's not necessary. X-Git-Tag: 2.0.0alpha1~1776 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2abf24ed596ded6f8aaf537d087626bc044fabe4;p=postgis Context freed. It's not necessary. git-svn-id: http://svn.osgeo.org/postgis/trunk@7026 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/raster/rt_pg/rt_pg.c b/raster/rt_pg/rt_pg.c index 177d76a18..6e9fac492 100644 --- a/raster/rt_pg/rt_pg.c +++ b/raster/rt_pg/rt_pg.c @@ -2138,7 +2138,7 @@ Datum RASTER_mapAlgebra(PG_FUNCTION_ARGS) SET_VARSIZE(pgraster, pgraster->size); rt_raster_destroy(ctx, newrast); - // XXX jorgearevalo: Dont destroy context. I think we need it here... + rt_context_destroy(ctx); PG_RETURN_POINTER(pgraster); }