diff options
author | Xinchen Hui <laruence@php.net> | 2015-07-27 11:17:23 +0800 |
---|---|---|
committer | Xinchen Hui <laruence@php.net> | 2015-07-27 11:17:23 +0800 |
commit | 9f56cfa9a18c3684306af501436c1bbcd1621820 (patch) | |
tree | 58357417459e87208d04a3299ed94e0ba6c4a3ed /ext/pgsql/pgsql.c | |
parent | 6aeee47b2cd47915ccfa3b41433a3f57aea24dd5 (diff) | |
parent | 70c6a6f624ec07be37ce90424d0765e3c78d1bf5 (diff) | |
download | php-git-9f56cfa9a18c3684306af501436c1bbcd1621820.tar.gz |
Merge branch 'master' of git.php.net:php-src
Diffstat (limited to 'ext/pgsql/pgsql.c')
-rw-r--r-- | ext/pgsql/pgsql.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c index 1172682bbc..888ae76cce 100644 --- a/ext/pgsql/pgsql.c +++ b/ext/pgsql/pgsql.c @@ -2368,7 +2368,7 @@ static char *get_field_name(PGconn *pgsql, Oid oid, HashTable *list) continue; } - ZSTR_LEN(str.s) = 0; + smart_str_free(&str); smart_str_appends(&str, "pgsql_oid_"); smart_str_appends(&str, tmp_oid); smart_str_0(&str); |