summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd_wireprotocol.h
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2010-03-24 15:17:57 +0000
committerAndrey Hristov <andrey@php.net>2010-03-24 15:17:57 +0000
commit293ba724517faf4d2f06d26b5ed0764f1c575bb3 (patch)
tree4592d20c878039cc30973bf2b718123eb9c4dbe4 /ext/mysqlnd/mysqlnd_wireprotocol.h
parent42c14bf473ac16d9fc15c0cf0761c465ef1729b0 (diff)
downloadphp-git-293ba724517faf4d2f06d26b5ed0764f1c575bb3.tar.gz
Fix a segfault when using a mysqli object after unsuccesssful connect, the
handle should have been allocated with mysqli_init().
Diffstat (limited to 'ext/mysqlnd/mysqlnd_wireprotocol.h')
-rw-r--r--ext/mysqlnd/mysqlnd_wireprotocol.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysqlnd/mysqlnd_wireprotocol.h b/ext/mysqlnd/mysqlnd_wireprotocol.h
index 2b2a7cae03..8e36b1fac9 100644
--- a/ext/mysqlnd/mysqlnd_wireprotocol.h
+++ b/ext/mysqlnd/mysqlnd_wireprotocol.h
@@ -268,7 +268,7 @@ void php_mysqlnd_rowp_read_text_protocol(MYSQLND_MEMORY_POOL_CHUNK * row_buffer,
PHPAPI MYSQLND_PROTOCOL * mysqlnd_protocol_init(zend_bool persistent TSRMLS_DC);
-PHPAPI void mysqlnd_protocol_free(MYSQLND_PROTOCOL * const protocol TSRMLS_DC)
+PHPAPI void mysqlnd_protocol_free(MYSQLND_PROTOCOL * const protocol TSRMLS_DC);
#endif /* MYSQLND_WIREPROTOCOL_H */