Commit 30ee2b9
committed
Fix #224: Segfault while using Ds\Set
The string may be refcounted or interned, so freeing is not valid, it
should be releasing the string. Also switch to the _func variant as I
first believed that we could use the zval_get_tmp_string() function but
that would be pointless here as IS_STRING is already handled.1 parent 4a62484 commit 30ee2b9
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
160 | | - | |
| 160 | + | |
161 | 161 | | |
162 | | - | |
| 162 | + | |
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
| |||
0 commit comments