Skip to content

GetDocuments: whereField creates a memory leak.  #12613

@jorgefrazaocosta

Description

@jorgefrazaocosta

Description

Using Leaks, it's possible to see that when we use the whereField, there is a memory leak being created. We saw it in several and different calls, all of them the Leaks tool points to the whereField.

Reproducing the issue

  1. Adds Firebase Firestore to the project
  2. Read documents from a Collection and filter some results using the whereField method from FIRQuery
  3. Launch App
  4. Observe memory leak using Leaks tool

Firebase SDK Version

10.23.0

Xcode Version

15.3

Installation Method

Swift Package Manager

Firebase Product(s)

AB Testing, Analytics, Authentication, Crashlytics, Firestore, Remote Config

Targeted Platforms

iOS

Relevant Log Output

Screenshot 2024-03-22 at 15 03 40

No response

If using Swift Package Manager, the project's Package.resolved

No response

If using CocoaPods, the project's Podfile.lock

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions