Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Although we assert size to be non-zero, this does not compute for GCC's analyzer and thus causes a nasty diagnostic. Doing the dumb thing™ and fail (even on intentional free) fixes this. This also makes the initial assert kinda explicit in the code as setting size==0 will be a surefire way to crash the program. Now guaranteed in release mode too. ;-)
- Loading branch information