summaryrefslogtreecommitdiff
path: root/ext/mssql/php_mssql.c
diff options
context:
space:
mode:
authorStefan Esser <sesser@php.net>2004-07-21 16:25:37 +0000
committerStefan Esser <sesser@php.net>2004-07-21 16:25:37 +0000
commit42a50158bcbae898bf7b915a70f04d093935e5e5 (patch)
treeaff030e2a0f5c164365aabe9a090585f554b83b4 /ext/mssql/php_mssql.c
parent6957c8ab5a0eff7026ba5be568b8c6d900ed6d1f (diff)
downloadphp-git-42a50158bcbae898bf7b915a70f04d093935e5e5.tar.gz
Merge all not yet merged security fixes into the 4_3 branch
Diffstat (limited to 'ext/mssql/php_mssql.c')
-rw-r--r--ext/mssql/php_mssql.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/mssql/php_mssql.c b/ext/mssql/php_mssql.c
index 7e9d28f8fe..489c655328 100644
--- a/ext/mssql/php_mssql.c
+++ b/ext/mssql/php_mssql.c
@@ -344,6 +344,7 @@ PHP_RINIT_FUNCTION(mssql)
PHP_RSHUTDOWN_FUNCTION(mssql)
{
STR_FREE(MS_SQL_G(appname));
+ MS_SQL_G(appname) = NULL;
if (MS_SQL_G(server_message)) {
STR_FREE(MS_SQL_G(server_message));
MS_SQL_G(server_message) = NULL;