Comments (4)
The fix seems to be just:
diff -urN adns-python-1.2.0.org/adnsmodule.c adns-python-1.2.0/adnsmodule.c
--- adns-python-1.2.0.org/adnsmodule.c 2006-12-31 18:25:29.000000000 +0100
+++ adns-python-1.2.0/adnsmodule.c 2007-01-08 13:18:16.623624500 +0100
@@ -719,7 +719,7 @@
adns_finish(self->state);
Py_END_ALLOW_THREADS;
Py_INCREF(Py_None);
- PyMem_DEL(self);
+ PyObject_Free(self);
}
static char ADNS_Statetype__doc__[] =
More info at http://docs.python.org/whatsnew/ports.html, obmalloc part.
Original comment by [email protected]
on 8 Jan 2007 at 12:19
from adns-python.
adns-python was originally written for Python-1.5. There are a number of Python
API
updates that I need to do to make it truly compatible with Python-2.5. I am
somewhat
surprised that PyMem_DEL is in there, though.
Original comment by [email protected]
on 8 Jan 2007 at 2:50
- Changed state: Accepted
from adns-python.
Should be fixed shortly
Original comment by [email protected]
on 27 Jan 2007 at 7:05
from adns-python.
Fixed in r19
Original comment by [email protected]
on 27 Jan 2007 at 7:15
- Changed state: Fixed
from adns-python.
Related Issues (15)
- adns module memory leak? HOT 1
- Segmentation fault after ands.completed() HOT 1
- use after free? HOT 1
- Installation failed with pip on Ubuntu 12.10 HOT 2
- Errors found by static analysis HOT 1
- Misleading self doc strings and poor self documentation
- IPv6 support HOT 1
- adns 1.2 api breakage HOT 2
- python-adns and SRV records HOT 2
- Memory leak has been found in function interpret_answer HOT 1
- Assertion 'tvp' failed HOT 5
- generator function for faster callbacks HOT 1
- RemoteConfigError never thrown by adns.exception
- no documentation or docstrings HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adns-python.