Arquivos
hhvm/hphp
mwilliams ed6ac5d10f Fix refcounting issues with string SetM
The code was assuming that the result of the assignment
would be the value assigned, but its actually a new string
containing the first character of the value assigned. The result
was that the SetM had already decRef'd the rhs, and then the
jitted code decRef'd it again. Since that last decRef was a decRefNZ,
we would often get away with simply leaking both the original rhs and
the value of the SetM. But the new testcase crashes in a DEBUG build
without the fix.
2013-04-01 11:51:38 -07:00
..
2013-03-28 11:05:47 -07:00
2013-02-11 02:10:41 -08:00
2013-02-11 02:10:41 -08:00