1
0
mirror of https://github.com/php/php-src.git synced 2026-03-28 02:02:32 +01:00
Files
archived-php-src/ext/curl/tests/bug69485.phpt
2020-02-03 22:52:20 +01:00

23 lines
314 B
PHP

--TEST--
Bug #69485 (Double free on zend_list_dtor)
--SKIPIF--
<?php include 'skipif.inc'; ?>
--FILE--
<?php
class O {
public $ch;
public function dummy() {
}
}
$ch = curl_init();
$o = new O;
$o->ch = $ch;
curl_setopt($ch, CURLOPT_WRITEFUNCTION, array($o, "dummy"));
?>
==DONE==
--EXPECT--
==DONE==