Network class leaks _request variable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntuone-credentials (Ubuntu) |
Triaged
|
High
|
Unassigned |
Bug Description
via valgrind:
==17330== 353 (4 direct, 349 indirect) bytes in 1 blocks are definitely lost in loss record 1,234 of 1,272
==17330== at 0x402A05C: operator new(unsigned int) (in /usr/lib/
==17330== by 0x45F14D4: UbuntuOne:
==17330== by 0x45EF91A: UbuntuOne:
==17330== by 0x45E329F: UbuntuOne:
==17330== by 0x4609906: ClickScope:
==17330== by 0x8051F28: char TestRunner:
==17330== by 0x804D1AA: _GLOBAL_
==17330== by 0x8052E11: __libc_csu_init (in /home/mmccrack/
==17330== by 0x4732899: (below main) (libc-start.c:219)
from the code:
/* either shared pointer or delete this */
_nam = new QNetworkAccessM
_request = new QNetworkRequest();
why not pass this as parent to QNetworkRequest?
affects: | ubuntuone-credentials → ubuntuone-credentials (Ubuntu) |
Changed in ubuntuone-credentials (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → High |