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
coverity
*** CID 1540881: Resource leaks (RESOURCE_LEAK) /src/ring.c: 146 in ring_resize() 140 len = vp_size(v1, v2); 141 vp_peek_ofs(v1, v2, 0, new->area, len); 142 new->size = size - sizeof(*ring->storage); 143 new->rsvd = sizeof(*ring->storage); 144 new->head = 0; 145 new->tail = len; >>> CID 1540881: Resource leaks (RESOURCE_LEAK) >>> Overwriting "new" in "new = __atomic_exchange_n (&ring->storage, 4, new)" leaks the storage that "new" points to. 146 new = HA_ATOMIC_XCHG(&ring->storage, new); 147 } 148 149 thread_release(); 150 151 /* free the unused one */
No response
haproxy -vv
no
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Tool Name and Version
coverity
Code Report
Additional Information
No response
Output of
haproxy -vv
The text was updated successfully, but these errors were encountered: