Skip to content

After fb_get_statement_interface() it does not release statament #102

@mlazdans

Description

@mlazdans
	if(IBG(master_instance) && IBG(get_statement_interface)) {
		void *statement = NULL;
		if(((fb_get_statement_interface_t)IBG(get_statement_interface))(IB_STATUS, &statement, &ib_query->stmt)){
			_php_ibase_error();
			RETURN_FALSE;
		}

		if(fbu_insert_field_info(IBG(master_instance), IB_STATUS, is_outvar, num, return_value, statement)){
			_php_ibase_error();
			RETURN_FALSE;
		}
	}

statement should be released. Used w/o release in multiple places.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions