Skip to content

Memory Leak #1602

Closed
Closed
@AshrafAbuBakr

Description

@AshrafAbuBakr

I was running analysis on my app and found 8 possible leaks in the SDK.
They are as follows:
1- PFPush.m (Line 322) :Converting a pointer value of type 'NSNumber *' to a primitive boolean value; instead, either compare the pointer to nil or call -boolValue
2- PFCommandCache.m (Line 250): Converting a pointer value of type 'NSNumber *' to a primitive boolean value; instead, either compare the pointer to nil or call -boolValue
3- PFOperationSet.m (Line 119): Converting a pointer value of type 'NSNumber *' to a primitive boolean value; instead, either compare the pointer to nil or call -boolValue
4- PFSQLiteDatabaseResult.m (Line 169): Converting a pointer value of type 'NSNumber *' to a primitive boolean value; instead, either compare the pointer to nil or call -boolValue
5- PFRESTPushCommand.m (Linde 46): Converting a pointer value of type 'NSNumber *' to a primitive boolean value; instead, either compare the pointer to nil or call -boolValue
6- PFCommandURLRequestConstructor.m (Line 113): Converting a pointer value of type 'NSNumber *' to a primitive boolean value; instead, either compare the pointer to nil or call -boolValue
7- PFQuery.m (Line 1092): Converting a pointer value of type 'NSNumber *' to a primitive boolean value; instead, either compare the pointer to nil or call -boolValue
8- PFDateFormatter.m (Method: preciseStringFromDate): nil returned from a method that is expected to return a non-null value

I'm using Xcode 12.2 and Parse SDK Version 1.19.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:questionSupport or code-level question

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions