We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Line 247 of cpPolyline -
Chipmunk2D/src/cpPolyline.c
Line 247 in edf83e5
is allocating an array of size cpPolyline objects and assigning it to a cpPolyline** - should the sizeof be sizeof(cpPolyline*) ?
XCode analyzer complains:
Also has the same problem with
Line 316 in edf83e5
The text was updated successfully, but these errors were encountered:
I reviewed these lines and their context: I agree with the assessment. It allocates more memory that necessary.
Sorry, something went wrong.
Raised PR #218
No branches or pull requests
Line 247 of cpPolyline -
Chipmunk2D/src/cpPolyline.c
Line 247 in edf83e5
is allocating an array of size cpPolyline objects and assigning it to a cpPolyline** - should the sizeof be sizeof(cpPolyline*) ?
XCode analyzer complains:
Also has the same problem with
Chipmunk2D/src/cpPolyline.c
Line 316 in edf83e5
The text was updated successfully, but these errors were encountered: