HI,
I noticed that in our application there are a lot of memory leaks when heap-objects, taht are send around via a Qt signal are not destroyed properly.
And it dont really see a good solution here...
public signal:
void mysig(myob* x);
public signal:
void mysig(myob* x);
To copy to clipboard, switch view to plain text mode
....
myob* x = new myob();
emit mysig(x);
....
....
myob* x = new myob();
emit mysig(x);
....
To copy to clipboard, switch view to plain text mode
When am i supposed to delete the "x" argument?
Bookmarks