my bad, sorry
authorMark Musone <musone@php.net>
Fri, 10 Sep 1999 02:47:49 +0000 (02:47 +0000)
committerMark Musone <musone@php.net>
Fri, 10 Sep 1999 02:47:49 +0000 (02:47 +0000)
ext/pgsql/pgsql.c

index a6b8868ee7d12b82a794273adde3ce300376e3c9..884eaf944135e0c59955f93ccebca1374a1abe5b 100644 (file)
@@ -940,7 +940,6 @@ 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); */