Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[1.1.X] Fixed #12450 -- `GEOSFree` was really added in GEOS 3.1.1, no…

…t 3.1.0. Thanks, jpwatts for the bug report.

Backport or r12004 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12005 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 90f7dfb461df5081545aadd5cbe8d3a70c5e8a2e 1 parent 3201e7b
@jbronn jbronn authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 django/contrib/gis/geos/prototypes/errcheck.py
View
4 django/contrib/gis/geos/prototypes/errcheck.py
@@ -7,8 +7,8 @@
# Getting the `free` routine used to free the memory allocated for
# string pointers returned by GEOS.
-if GEOS_VERSION >= (3, 1, 0):
- # In versions 3.1 and above, `GEOSFree` was added to the C API
+if GEOS_VERSION >= (3, 1, 1):
+ # In versions 3.1.1 and above, `GEOSFree` was added to the C API
# because `free` isn't always available on all platforms.
free = lgeos.GEOSFree
free.argtypes = [c_void_p]
Please sign in to comment.
Something went wrong with that request. Please try again.