fixed memory leak

This commit is contained in:
Mark Musone committed 1999-09-10 02:37:46 +00:00
1 parent 22f066e708
commit 63243be5ac
1 file changed
+1
+1
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); */