if your code is well organised and you take care of what you do with memory it is not so frequent to leak in C++. The worse is when it comes from implicit and sneaky features.
but I have no "industrial" experience
I find C to be much more appealing to debug
(your format! indentation is not right)
Alexander Chepurnoy
@kushti
@Bastacyclop i dunno much about nowadays, but 10-12 years ago huge C++ projects in our company usually got a garbage collector at some point, sometimes implemented in-house. It is better to use state-of-art Java GCs then