diff options
| author | Justin Bronn <jbronn@gmail.com> | 2009-12-27 08:07:08 +0000 |
|---|---|---|
| committer | Justin Bronn <jbronn@gmail.com> | 2009-12-27 08:07:08 +0000 |
| commit | f58fb383fbbcec9f7482b81388710abbf0ad0df6 (patch) | |
| tree | 6702e446efa5d173079e58f6c256903b5a71d19c | |
| parent | adc6113515210c137ae662ef047d86975343eb24 (diff) | |
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
| -rw-r--r-- | django/contrib/gis/geos/prototypes/errcheck.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/django/contrib/gis/geos/prototypes/errcheck.py b/django/contrib/gis/geos/prototypes/errcheck.py index c5037c1e21..0d5e9e24fc 100644 --- a/django/contrib/gis/geos/prototypes/errcheck.py +++ b/django/contrib/gis/geos/prototypes/errcheck.py @@ -7,8 +7,8 @@ from django.contrib.gis.geos.libgeos import lgeos, GEOS_VERSION # 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] |
