Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #12450 -- `GEOSFree` was really added in GEOS 3.1.1, not 3.1.0.…

… Thanks, jpwatts for the bug report.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@12004 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit f58fb383fbbcec9f7482b81388710abbf0ad0df6 1 parent adc6113
Justin Bronn authored December 27, 2009
4  django/contrib/gis/geos/prototypes/errcheck.py
@@ -7,8 +7,8 @@
7 7
 
8 8
 # Getting the `free` routine used to free the memory allocated for
9 9
 # string pointers returned by GEOS.
10  
-if GEOS_VERSION >= (3, 1, 0):
11  
-    # In versions 3.1 and above, `GEOSFree` was added to the C API
  10
+if GEOS_VERSION >= (3, 1, 1):
  11
+    # In versions 3.1.1 and above, `GEOSFree` was added to the C API
12 12
     # because `free` isn't always available on all platforms.
13 13
     free = lgeos.GEOSFree
14 14
     free.argtypes = [c_void_p]

0 notes on commit f58fb38

Please sign in to comment.
Something went wrong with that request. Please try again.