feraudyh
2nd February 2014, 21:26
Suppose I have a Qfile, I call on file.readAll()
This returns a bytearray containing the contents of the file.
Since it does not return a pointer, you cannot delete the returned value.
So how does Qt avoid memory leaks?
Is there a reference counting system?
This returns a bytearray containing the contents of the file.
Since it does not return a pointer, you cannot delete the returned value.
So how does Qt avoid memory leaks?
Is there a reference counting system?