Commit 697c909
committed
FIX : hide ref counting violence unless needed
Hide the violence added in 078ddc1 to
ref counting on temporary QImage objects which prevents a memory leak
under PySide and py3k.
This seems to break blitting under PyQt4 and python3 resulting in
a
*** Error in `python': corrupted double-linked list:
0x00000000024a9940 ***
error which kills the gui.1 parent 3c95554 commit 697c909
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
| 130 | + | |
| 131 | + | |
131 | 132 | | |
132 | 133 | | |
133 | 134 | | |
| |||
0 commit comments