Commit 1e6a27c
committed
Fix memory leak in get_html_source (thanks @mreitinger for patch)
It looks like $resource/$request never gets freed if
$resource->get_data_finish($result); is called within the callback
(even if this is correct according to the webkit docs).1 parent fc8783b commit 1e6a27c
1 file changed
Lines changed: 7 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
110 | 109 | | |
111 | | - | |
112 | 110 | | |
113 | 111 | | |
114 | 112 | | |
115 | | - | |
116 | | - | |
| 113 | + | |
117 | 114 | | |
118 | | - | |
119 | | - | |
| 115 | + | |
| 116 | + | |
120 | 117 | | |
121 | 118 | | |
122 | | - | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| |||
0 commit comments