Is there an acceptable limit for memory leaks?

前端 未结 11 2201
無奈伤痛
無奈伤痛 2021-02-02 12:08

I\'ve just started experimenting with SDL in C++, and I thought checking for memory leaks regularly may be a good habit to form early on.

With this in mind, I\'ve been

11条回答
  •  伪装坚强ぢ
    2021-02-02 12:34

    For a desktop application, small memory leaks are not a real problem. For services (servers) no memory leaks are acceptable.

提交回复
热议问题