Comments (2)
2016-06-30 10:27:35: @greghudson commented
Note that even under glibc, realloc(NULL, 0) allocates memory and returns non-null--that is, it behaves like malloc(0) rather than free(NULL). So using realloc(x, 0) as a synonym for free(x) only works if you are careful not to free null pointers, which is of course inconvenient.
from libverto.
Fixed by 968d542
from libverto.
Related Issues (19)
- Memory Leak from loaded_modules->filename HOT 2
- libverto.pc.in Libs.private HOT 5
- C89 namespace violations HOT 3
- segfault deleteing event with tevent backend HOT 3
- verto_convert_module sanity check could dereference null pointer HOT 3
- libtevent is failing tests HOT 3
- Mixed declarations and code HOT 3
- broken pkgconfig files HOT 10
- std=c89 breaks external libev build HOT 2
- verto_new fails when libverto is built as a static library HOT 7
- No breaks in libev_ctx_del() HOT 3
- Any interest to introduce event library libhv into libverto as backend?
- Non-prototype declarations HOT 3
- Module loading on non-ELF UNIX-like platforms HOT 3
- Linking against multiple module libraries HOT 3
- pkg-config input files need exec_prefix HOT 3
- verto_set_private() should perhaps return void HOT 3
- Compile option to hardcode linked-in module HOT 6
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 libverto.