xref: /PHP-7.0/ext/curl/tests/bug69485.phpt (revision d66045fe)
1--TEST--
2Bug #69485 (Double free on zend_list_dtor)
3--SKIPIF--
4<?php include 'skipif.inc'; ?>
5--FILE--
6<?php
7
8class O {
9	public $ch;
10	public function dummy() {
11	}
12}
13
14$ch = curl_init();
15
16$o = new O;
17$o->ch = $ch;
18curl_setopt($ch, CURLOPT_WRITEFUNCTION, array($o, "dummy"));
19?>
20==DONE==
21--EXPECT--
22==DONE==
23