diff options
author | Scott MacVicar <scottmac@php.net> | 2009-06-09 01:04:35 +0000 |
---|---|---|
committer | Scott MacVicar <scottmac@php.net> | 2009-06-09 01:04:35 +0000 |
commit | f250ef78245d6f713d2340a2be4e8ed4647928b2 (patch) | |
tree | f76df0237c5dc7169a6801cce175a1b0fe9e7809 | |
parent | 813dd91af8a746d09a81537324c32c2f30fe6baf (diff) | |
download | php-git-f250ef78245d6f713d2340a2be4e8ed4647928b2.tar.gz |
Add test
-rw-r--r-- | ext/mysqli/tests/bug46109.phpt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/ext/mysqli/tests/bug46109.phpt b/ext/mysqli/tests/bug46109.phpt new file mode 100644 index 0000000000..358f1bf1fa --- /dev/null +++ b/ext/mysqli/tests/bug46109.phpt @@ -0,0 +1,17 @@ +--TEST-- +Bug #46109 (MySQLi::init - Memory leaks) +--SKIPIF-- +<?php +require_once('skipif.inc'); +?> +--FILE-- +<?php + include "connect.inc"; + + $mysqli = new mysqli(); + $mysqli->init(); + $mysqli->init(); + echo "done"; +?> +--EXPECTF-- +done |