1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 16:22:37 +01:00

fixed memory leak

This commit is contained in:
Mark Musone
1999-09-10 02:37:46 +00:00
parent 22f066e708
commit 63243be5ac

View File

@@ -940,6 +940,7 @@ static void php3_pgsql_fetch_hash(INTERNAL_FUNCTION_PARAMETERS, int result_type)
field_name = PQfname(pgsql_result,i);
add_assoc_stringl(return_value, field_name, data, data_len, should_copy);
}
efree(element);
} else {
/* NULL field, don't set it */
/* add_get_index_stringl(return_value, i, empty_string, 0, (void **) &pval_ptr); */