summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd_structs.h
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2010-05-27 08:51:46 +0000
committerAndrey Hristov <andrey@php.net>2010-05-27 08:51:46 +0000
commitb7385f02fd13457901d4258d9fed2343779df436 (patch)
tree72942105d957263ba28c47c14b9d39ef72dde6e5 /ext/mysqlnd/mysqlnd_structs.h
parent4d005a8e65c2753565493f761fc3302d97f0e408 (diff)
downloadphp-git-b7385f02fd13457901d4258d9fed2343779df436.tar.gz
Fix deallocation which can crash if the object is half-baken.
Happens during OOM.
Diffstat (limited to 'ext/mysqlnd/mysqlnd_structs.h')
-rw-r--r--ext/mysqlnd/mysqlnd_structs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/mysqlnd/mysqlnd_structs.h b/ext/mysqlnd/mysqlnd_structs.h
index de08a7f1b1..21d90d6dc7 100644
--- a/ext/mysqlnd/mysqlnd_structs.h
+++ b/ext/mysqlnd/mysqlnd_structs.h
@@ -908,6 +908,7 @@ struct st_mysqlnd_stmt
{
MYSQLND_STMT_DATA * data;
struct st_mysqlnd_stmt_methods *m;
+ zend_bool persistent;
};
#endif /* MYSQLND_STRUCTS_H */